Enable PVR support on iOS

MOAI_TEST_PVR was defined in a place where the actual PVR
code could not see it. Since it was just an alias for
MOAI_OS_IPHONE, I replaced it with that.
Fix PVR support by using zgl abstraction layer
Remove unnessecary casts
Sort Lua functions by name in MOAIAppIOS
Add MOAIAppIOS.getInterfaceOrientation()
Remove unused variable that is shadowed by another one later
Fix warning about unused vaiable in release mode
Fix warning from SFMT library

Usually I don't like tinkering with 3rd-party code, but this
warning is very annoying and rather useless. It's only there
to say that a sensible default value was chosen, which is
nothing to be worried about.
Fix warning about missing function prototype
Fix ARC detection preprocessor directive
Simplify ARC macro definitions
Set LUA_USE_MACOSX for OS X host build

This enables some extended Lua functionality, like io.popen.
See https://github.com/moai/moai-dev/pull/706.
Merge pull request #756 from theGoodEvil/fix_warnings

Fix Warnings in Xcode Builds
Merge pull request #757 from theGoodEvil/get_interface_orientation

Add MOAIAppIOS:getInterfaceOrientation()
Merge pull request #758 from theGoodEvil/lua_popen

Enable popen etc. on Mac OS X
Renaming MOAISafariIOS to MOAIBrowserIOS
Renaming MOAISafariIOS to MOAIBrowserIOS
Adding MOAIBrowserAndroid
Moving openURL from MOAIAppAndroid to MOAIBrowserAndroid
Updating copyright year and some comment typos