Keep nightly versions semver-compliant

It appends the nightly date as build metadata (e.g. `+2014.01.11`) as per the semver spec instead of modifying it. The only other place NIGHTLY_DATE is used is in the package Version, I hope it doesn't trip anything up to have dots instead of dashes in there. Otherwise to be safe we could have two different formats.