package.json: Use a valid 3-section version number

npm install fails with version set to 0.0.3.1- changing this to 0.3.1 to make the build succeed