Fix the build and update gitignore

Sorry about removing whitespace in the `build.xml`, my editor does that automatically and I didn't notice.
Changes:
- Updated gitignore to ignore some directories created by the build script.
- Added a `.gitkeep` in `resources/main` to stop ANT complaining there is no folder to copy files from.
- Removed whitespace in `build.xml`
- Made `canDoSvn` task check for the `.svn` directory as well as the `svn` executable
- Added `-XX:-UseSplitVerifier` to the junit forked JVM args