feat(animation): add animationsAllowed property to AnimationOptimizer

This adds support for Protractor to run tests against production
servers with animations turned off.

Refer to
https://github.com/angular/protractor/commit/f23565d5db4fbb102cfec8311ce9dfaee52e9113
for usage.

Closes #1112