Upgrade to newer Android Versions

Increased minSDK to 11 and compileSDK to 21 and made some compatibility changes.