Added validation for major and minor values.

Changed minor value range label to be 1 - 65535 inclusive.
Added validation around maximum and minimum minor values.
Added validation around maximum and minimum major values.