Fixes #6636, #6657, #6694 - add field length validations by db size, extend audit field length

Fixes #6657: Major/monor version fields should not accept negative integer values while creating OS