Changed idea and eclipse gradle plugins to apply to allprojects

(At least for intellij, haven't tested in eclipse I assume it would be a similar issue)

When the idea and eclipse plugins are applied to the sub-projects only, .i* files are only generated for the sub-projects. This doesn't allow one to open the root project in intellij as there are no .i* files in the root directory (as we've noted in the past, the gradle project import isn't too great, much better to generate the idea config files via gradle).