Configurable rotation constraints

This PR adds two options that allow the user to configure the rotation constrain in `ol.View2D`.