Extract versioning code (3-0-stable)

See #309 and globalize/globalize-versioning#2. This branch is for the AR3 version (3.0.x) of Globalize.