added karma.conf and configured grunt
defined SockMock and started using it for jasmine tests