chore(build): Upgrade build dependencies

Upgrade dependencies and make karma test runner work in new version.