add map init hook

If map.option.positionControl is truthy assign map.positionControl to a new Control.MousePosition with the default options and add it to the map.