updated build files to include just common source, not tests
Changed gitignore to keep important IDE files under version control, and added all those files
Note that this includes files for both Eclipse and IntelliJ