add npm rebuild to make bcrypt work with travis
add phantom launcher for karma