Fixed doc_count on database GET, added tests
Return correct errors on document GET
Reformatting of conditionals, updated __doc_count to only count docs where _deleted is not true
Merge pull request #5 from davidwood/master

Return 404 when requesting a document that does not exist.