Added option to specify package version for install action

This adds an option, "version", which when passed to the install action, allows
one to essentially specify a version to be installed.

This is a slightly cleaned up version of PR#1, which this Pull Request supercedes