Adding doc.html fixture modularizing the test

Signed-off-by: Henrique Vicente <henriquevicente@gmail.com>
Adding karma tests
Adding Travis ci
.gitignore
Updates package.json