Plugin check should check for extensions too

It is possible to subclass the "android" and "android-library" plugins.
Using "withType" instead of "hasPlugin" will match these plugins.
Merge pull request #41 from klynch/master

Plugin check should check for extensions too