Removes hardcoded extension of PNG to allow OEM versions (qmg)

 - adds unit-tests via two qmg files (one 9 patch, one regular)
QMG are not 9patches

 - skip these by copying raw
Cleanup

 - switch to java7 try-with-resources
 - add check in unit-tests for checking control
Merge branch 'master' of https://github.com/iBotPeaches/Apktool