Bug 915985 - Refactoring to introduce a ZoomConstraints class. r=botond