* Use modern collections and generics.
* This means some breaking changes to the API, so bump the major version.
* Since I'm bumping the major version, ditch the deprecated methods.
* Also fix some minor doc bugs and some confusion over which class needs serialVersionUID