Added new setAllowedRotations API in the screen obj and new test cases.
Removed the default value allowedOrientation for a web view.
Added test cases for modal and status bar
Added allowed rotation as a parameter for modal API.
Removed duplicate code related to mapping degrees to orientation values, using the Screen function now.
Overrided the window.shouldRotateToOrientation function to always return false and have the new orientation code to support legacy apps.
Added allowed orientations in the modal open API.
removed alerts from the success callback on allowedOrientation API calls.. this causes issues since iOS has to display the alert before it has changed the screen orientation and that break thinks.
Merge branch 'topic/allowedOrientation_refactory' of github.com:pentateu/steroids-js into topic/allowedOrientation_refactory

Conflicts:
	src/models/Modal.coffee
Merge remote-tracking branch 'pentateu/topic/allowedOrientation_refactory' into next

* pentateu/topic/allowedOrientation_refactory:
  removed alerts from the success callback on allowedOrientation API calls.. this causes issues since iOS has to display the alert before it has changed the screen orientation and that break thinks.
  Added allowed orientations in the modal open API.
  Overrided the window.shouldRotateToOrientation function to always return false and have the new orientation code to support legacy apps.
  Removed duplicate code related to mapping degrees to orientation values, using the Screen function now.
  Added allowed rotation as a parameter for modal API.
  Added test cases for modal and status bar
  Removed the default value allowedOrientation for a web view.
  Added new setAllowedRotations API in the screen obj and new test cases.

Conflicts:
	src/steroids.coffee