Permalink support

This PR shows how we can use the Angular $location service to support permalinks. In this PR the map and backgroundlayerselector directives are extended to initialize themselves based on "zoom", "X", "Y", and "bgLayer" params in the query string. This is rather basic for now, but it shows how to use services for that kind of things.

Please review.