Made setOrientation public so it is now possible to use dojo/aspect to detect orientation changes within ReUI. This changeset also includes several fixes by Tony and Carlos that were committed to the argos-sdk repository and not this one.