Decrement fields if necessary

@evansde77 
When doing a major release, minor and micro versions are set to 0. When doing a minor release, micro version is set to 0.
oops, I was going to do some refactoring but decided wasn't really worth it. I'll take that out.