Mapbase and customadmin

Created template for maps to reduce and reuse code.
Made progress on customadmin for adding multiple new users
Merge branch 'dev'

Conflicts:
	lmdb_main/lmdb_main/settings.pyc