fixing bug in maps and layer counts on delete
Merge branch 'master' of https://github.com/boundlessgeo/suite
adding check for creating maps with duplicate name