Added fallback for dispatching after login when url has a hash
Added tests for onLogin redirect with and without hashes
added comments to clarify details in the new login tests
Merge pull request #75 from hatched/render-app-hash

To see the issue visit http://comingsoon.jujucharms.com/sidebar/search/precise/mongodb-21/?text=mongodb#bws-code

To QA (locally):
make prod
visit <host>/sidebar/search/precise/mongodb-21/?text=mongodb#bws-code
You should get the mongodb charm with the code tab selected.

To QA (real env):
Deploy the ~juju-gui charm and change the juju-gui source to `https://github.com/hatched/juju-gui.git render-app-hash`
visit <host>/sidebar/search/precise/mongodb-21/?text=mongodb#bws-code
enter your credentials and log in
it should redirect you to the proper details