Manage new global variables
Adapt to all controllers. Remove MAP_URL as it's not needed
Fix src mode and use cache for htmlpopup
Don't use cache for search. Use cache for htmlpopup
Move all urls used by the print in the controller
Remove useless concatenation
Introduce versionsslashed varaible for index creation
Remove array dependencies
Fix crosshair url
Configure d3lib path outside of service
Use resoruceUrl for topic and profile
Fix mako
Merge pull request #1111 from geoadmin/dev_refactor_global_jeg

WORK IN PROGRESS: Managin global variables - take 2