Test distribution version.
Parse documentation requirements for the build_sphinx setuptools command.
Add a module variable for backwards compatibility via feature detection.

Unsure if it's a good idea, but will leave it there for now since the library is still in development.