Set manifest version from options

Added ‘option’ to build number config.
Set version from formatted buildnumber string
Fixes for jshint warnings
Package version increment
Merge pull request #14 from pkozlov/master

Set manifest version from options