Added `get_major_minor` method

Closes https://github.com/PistonDevelopers/shader_version/issues/21
Merge pull request #23 from bvssvni/master

Added `get_major_minor` method