heavy refactor - standalone methods, map initialisation, ui
added wmc=wmc_url parameter to interact with mapfishapp.
Todo, make it persistent in permalinks.
wmc= parameter now persistent in permalinks