Minor cleanup, add settings.xml, update gitignore

1. Add intellij and mac related ignores
2. Add settings.xml
3. Rename a few things according to the standard
4. Uncommect cbttest db removal in pom.xml