Adding support for prerelease identifiers

This is implemented per https://github.com/npm/node-semver/issues/88
should identifier by a falsey checker here? Maybe something more strict in case some weirdos want to pass something like 0 or false as the value?