Remove .classpath and .project from repo.
Add new entries in .gitignore.
Upgrade to Scala 2.10.
Fix compile error after upgrading to Scala 2.10.