Accept resolution or zoom related options for constrained views

Any of minResolution, maxResolution, minZoom, or maxZoom can be used to constrain the view resolutions.  Resolution options are given precedence over zoom options.
Handle minZoom in getZoom and setZoom
Merge pull request #2079 from tschaub/view-options

Support zoom and resolution constrained views.