add database.yml to gitignore and provide sample config.
update gems.
update database.yml.sample .
replace factory_girl with machinist.
add basic unit tests for the models.
remove unused files.
Merge branch 'refs/heads/testing'

ter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.