add version function
read version from package.json
Merge pull request #7 from Trott/version

Version