refactor(api export): now return an Api instance
chore(karma): setup karma for test
test(url): first test for url generation
chore(lint): add linting for tests
style(test): fix test linting
chore(grunt): add grunt-karma task
feat(route): support missing front / in route path
chore(grunt): add dev task which start karma and watch repository
doc(grunt): add section about main grunt tasks