Add some basic documentation
Merge pull request #3 from joeybaker/patch-1

Add some basic documentation
jsHint code cleanup
Cradle's view.map takes a function, not a string
Actually ensure the log db is created.
More specific test db name