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.
I don't think there's any real reason for this to be asynchronous, I'm not sure why it was asynchronous in the first place.