dub package

- fix a few things

- integrate tests as local unittests

- add LICENSE, README.md, .travis.yml, dub.json