Added render loop tests
Test resuming too
Test GL debug
Test error string
Added portability tests
Faster to use RTLD_NEXT than open OpenGL framework
Test GL function lookup
Pre-get state object for current context
Silence unused warning for state variable
Added caller tests
Test that the macros are using the context locks
Make sure state is only being created once per context
Put state setup inside the setup macro not entry macro
Refactored calling macros
Fixed missing unlock
Test that the separate threads finish
Removed locks from context associated object set/get

Instead leave it needing to be locked explicitly if needed, but otherwise
avoids the lock.
Added context retain/release to guarantee cleanup of associated objects
Fixed missing autorelease
Converted all tests to use the new context release function