[wms] add some stats cleanup utils
[map client] make the permalink accept lon/lat
[map client] - make the frontpage properly pass hash to the iframe
[stats] - some more work on simple stats app