added api test grunt target, added mocha dev dependency