Fix support for extended Android Plugins

Plugins like dexguard extend the AppPlugin and LibraryPlugin these changes fix that, they find plugins that inherit from those classes.
This surpasses #11 as it adds tests