Implemented UKSM 0.1.2.2

Implemented UKSM 0.1.2.2 and made it compiling normally with gcc 4.6. Compiled and flashed to my phone, now testing :)