Changed the sitemap building logic.

Also fixed the "can't click save button" -problem. Z-index problem...
Merge branch 'sitemap' into dev

Conflicts:
	app/models/CMS.php