Added RSpec tests for Ruby merge_sort
Added Karma-jasmine tests for JS mergeSort
Added js file for helper functions. Reformatted to JS standards.