[tests] OMG tests!

This is a basic approach for tests, using `config` command as initial layout
[minor] trying to keep coding style :)
[test] Add endpoint tests
[tests] Add default endpoint test
[tests] Add basic document tests
[test] Add test for document insert and destroy
[tests] Basic tests for design
[tests] Add basic tests for database
[tests] Add travis support
Merge pull request #20 from dscape/tests

OMG tests!