records: tab switching events

* When tab switching is initiated, the "tabreload" JavaScript event is
trigerred, and when the tab is completely switched, "tabreloaded" is triggered.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
Merge pull request #140 from adrianp/poo

records: tab switching events
record: redirects invenio/record/ to invenio/

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
Merge pull request #141 from adrianp/poo

record: redirects invenio/record/ to invenio/