updated broken points2county so that package can build, and sends message that function is broken
added checks to settings to send error if database$settings are given but database connection is not available. Switched test settings file to bety$write = TRUE