Add IDEA config.

This is a top-level project, containing all of the submodules.
It seems to work with gradle properly.

Hasn't yet got the settings from the other project.