Add method to close current database

This is useful the following cases:

- An app might only use FCModel infrequently and wants to free up resources.
- An app might want to allow the user specify (or change) where its data is stored.
- Unit tests work best if each run starts with a 'clean slate'.

This changeset also includes some initial unit tests for the library (which relies on the ability to create a fresh database for each test).
Added *.xccheckout to gitignore
Make closeDatabase a private category for unit tests
Merge pull request #7 from dhennessy/add-db-close

Add method to close current database for unit testing only; add some unit tests