Add Karma, Phantom dependencies in --dev package.json