Extracted plugin to assist with migration to model rules

- ComponentModelBasePlugin now has source set defaults which are incompatible with legacy java plugin
- Fixes building gradle with latest gradle with JDK 1.8