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
Fixed the height calculations for the viewlet manager to support the new positions of the expose and destroy buttons
Update state on minimized and call next
Merge pull request #76 from hatched/destroy-service-1267899

To QA:

Deploy wordpress & mysql and relate them.
Scale one to 200 units and let the simulator run until you have 9 unit status groups then scroll down.
You should now see the expose and destroy service buttons.
Merge pull request #77 from mitechie/minimized_viewmode_toggle

Minimized did not update the _viewState and _oldState when called. This caused https://launchpad.net/bugs/1260831 because the browser app was not properly detecting changes in viewmode and cleaning up after itself along with loading valid previous state (in this case the search values)

This update the minimized function to update the state. It should also be calling next() like the sidebar() call.

QA:

Perform the steps in the bug. It should not be reproduceable.