More build fixes and cleanup

This is based on Jeremy's pull request, so you'll want to merge his first.

I fixed a couple more build issues, ignored more build artifacts, and added a build.xml to MPDCrypto so it can be run without Eclipse.