change to mocha for tests
update codeship scripts for npm stuff