Changed BuildController.getModel(target, type) so that it understands `GradleProject`, `IdeaModule` and `EclipseProject` as targets.

Also added findModel() variants for each getModel() method.