Feature/mapcontrol cache

From @nicolas-f https://github.com/nicolas-f/orbisgis/tree/feature/mapcontrol_cache