Use Stefan Birkner's lib-parent as parent POM.

This parent POM provides up-to-date versions of plugins and configures
the plugins that are needed for releasing the library at Maven Central.