Upgrade Angular and Protractor to latest versions

After the upgrades, we clean up the tests using the new Protractor features.