Clear build metadata on increment, but not pre-release data.
Clear build metadata on increment, but not pre-release data.

This commit does the following:

 * Introduces fn clear_metadata(&mut self)
 * Implements it in all increment functions
 * Tests it twice

rust-lang/semver,yangxingpping/semver