Added `get_major_minor` method

Closes https://github.com/PistonDevelopers/shader_version/issues/21