Login redirects #hash. See #11957

See http://trac.openmicroscopy.org.uk/ome/ticket/11957?pane=edit

To test, log out of webclient, then attempt to go to a url that has a #hash, E.g. http://localhost:4080/webclient/#test

You should be directed to the login page, then on logging in, you should be redirected to the url you entered (with the #test hash). NB - this doesn't work on Safari, does work on Chrome and FF. Don't know about IE.
This isn't required anywhere in webclient yet, but is used by OMERO.figure (and may be useful to webclient in future). 


Also, a tiny fix to json response (only used by OMERO.figure). To test, see that http://trout.openmicroscopy.org/webclient/activities_json/ is valid json (any login is OK).