Leverage new APIs to efficiently activate/deactivate arrays of constraints

- Use the class methods on NSLayoutConstraint to activate and
deactivate arrays of constraints. These can be more efficient than
activating/deactivating constraints individually.
- Fix the preprocessor conditionals so that OS X 10.10 and higher can
use the new constraint activation/deactivation APIs when available