Added the karma test runner with phantom js.