Added Karma-Jasmine-PhantomJS testing framework for Javascript exercises.

Also added a test for binarySearch, and removed console logs in the blocks exercise.