add makefile and mocha for tests
fix instance validator with modella types
add travis