Project dependencies update

I have updated a project dependecies and also upgraded to use Jasmine 2.0. I have fixed exiting unit tests and make some changes to karma config file. Hope it's fine.
it's junk like this that makes me not want to update to jasmine 2.x --- they basically ruined the api with all of these pointless breaking changes lol