fixed import + applicationInfo retrieval

Hi,
I tried your plugin with Android 4.4.2 using Cordova 3.3 and compiling android failed. It looks like there was a missing import. The retrieval of the ApplicationInfo seemed to have changed and a direct call to getApplicationInfo() is not possible ; i don't know if it is from a change in Cordova 3.3. May be we should adapt this behavior so that the plugin will be compatible with both Cordova 3.2 and Cordova 3.3 but I have no idea on how to achieve that (I am fairly new to Cordova 3).