Sync with Ion 2.4 & 2.5 Android Ion

Refactored the code to support both pre-2.5 and 2.5 Android Ion. 

Implements http://teampulse.telerik.com/view#item/271692
It should be better to use `properties-parser` - https://www.npmjs.org/package/properties-parser. I use it in `nativescript-cli` - https://github.com/NativeScript/nativescript-cli/blob/fe6ea2c99865ffafd4ea9ca93a2fa158e2959b68/lib/services/android-project-service.ts#L169. I suggest to move it to `common-lib` and extend it with `parse` function.