Addresses Issue #4, replicates version handling. Copied from Flask-Registry

Thought I would take a quick stab at implementing the version handling as done in Flask-Registry, I essentially yanked all the relevant parts over. Tests, coverage, and docs look okay. Thanks for your time, and for the great extension!