global: various fixes
- Addresses problems with translatable messages.
- Fix for login redirect not working with missing referrer.
- Moves messages JavaScript to static folder and fixes select all checkbox.
- Fixes 404 when clicking on tag in list preview.
- Adds licensing information.
Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
NOTE: beware, patch amended by Tibor to use new file names