Handle inheriting from a parametric polymorphic variant type.

Fixes #11.
Use opam-publish based release system.