Use apktool 2.0.0-RC2 on Selendroid too if possible.

We totally forgot Selendroid in https://github.com/appium/appium/pull/4129.
I fixed it now for Selendroid and refactored the code a bit.