Fixed storing/retrieving UTF-8
added DuplicateEntryError for db and AcceptError for HTTP
duplicate entries in sql return DuplicateEntryError
duplicate entries in mongo returns DuplicateEntryError
Merge pull request #47 from wshager/master

Fixed SQL storing/retrieving in UTF-8