WebMessage: fix menu and broken links

* Fixes issue with broken links on /yourmessages/display page.
  (closes #1487)

* Addresses issue with javascript exceptions due to moved script tags.
  Adds new invenio.js that loads all javascript needed for correct
  dynamic menu behaviour using `data-menu="click"` and
  `data-menu-source="<url>"` attributes in appropriate menu element.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>