Added functionality to get all territory models.
Merge branch 'develop' into ahnera_sprint1

Conflicts:
	protected/views/layouts/registermodal.php
Added map.php file as a view, Redirect to map.php, navbar inverse
Merge branch 'bdbtzc_sprint1' into develop