add Eclipse and IDEA project settings and do some code formatting

Emily,
during some Dojos I noticed that some participants have problems with IDE setup so I added some IDE configuration files. Also I noticed some formatting/whitespace "problems" and formatted the source code accordingly.
Cheers