replaced usage of 'requestContext3DMatchingProfiles' with custom implementation

Unfortunately, that AIR method is still buggy. See:
http://forum.starling-framework.org/topic/potential-problem-with-the-starling-profile-auto-selector
and
https://bugbase.adobe.com/index.cfm?event=bug&id=3757050
Merge branch 'master' of github.com:PrimaryFeather/Starling-Framework
fixed missing argument check (closes #541)
Merge branch 'upstream/master'