CB-8043 CB-6462 CB-6105 Refactor orientation preference support (adds iOS, WP8 & Firefox OS)