Clean up the gitignore file

This prunes out lots of old JARs which are no longer part of the
distribution, and adds others that are now included.

It sorts the JAR libraries by organization, with all third party
dependencies grouped into a section at the bottom.