Use semantic versioning, bump to 3.0.

Closes #157.