Merge pull request #16 from csmith/master

Add IDEA config.
Add copyright, codestyle and inspection settings.

These are just straight copies from the client project.