removed unused code, cleaned up some files

added Settlement as a unit
removed unused functions from map.js
HAI.Settler