Merge pull request #5 from crowriot/master

pandora port with separate platform initialization files and global functions enhanced
Maemo/MeeGo Compatibility Fixes
trg2: Make sure we don't accidentally take over
Fix width/height issues for Maemo and MeeGo
Fast hacks for Angry Birds and Cut the Rope
Merge pull request #6 from CODeRUS/master

Fast hacks for Harmattan
Raspberry Pi Bionic libraries instructions
fix grammar in readme
support pandora in makefile build

crowriot uses .cbp instead it seems
make local functions static

so that gcc can do better job inlining them
fix various warnings

mostly missing includes and unused variables
support debugging android libs

sample backtrace before:
0  0x40252b60 in tolower () from /lib/libc.so.6
1  0x405e7180 in ?? ()

after:
0  0x40252b60 in tolower () from /lib/libc.so.6
1  0x405e7180 in FreeImage_Initialise () from ./lib/armeabi-v7a/libOFAndroidApp.so
2  0x0001481c in call_array (ctor=0x40a496c0, count=126, reverse=0) at linker/linker.c:1562
3  0x00014bd8 in call_constructors_recursive (si=0x43814) at linker/linker.c:1624
4  0x00010164 in android_dlopen (filename=0x57430 "./lib/armeabi-v7a/libOFAndroidApp.so", flag=1) at linker/dlfcn.c:67
5  0x0000f6e0 in main (argc=2, argv=0xbefffcf4) at apkenv.c:402
add more time related function hooks

at least tzset will corrupt glibc's state
Merge pull request #8 from notaz/master

various fixes
Install resource policy on Harmattan

Tell the Resource Policy Framework to handle apkenv as a game, which
allows use of the +/- keys to control the sound volume on the Nokia N9.
don't use printf here. (see comment in linker/linker.c)
allow hooking of functions from dynamically loaded libraries
add mapping for valloc
implement pthread_attr_setstack wrapper
add dummy_int_array definition