added unique value validation (custom validation)
added more checks to unique value validation - required options, added tests, removed trim from value to be tested, as it is not required.
Value would be received as trimmed from views
adding required params usage in comments for documenation'
Merge pull request #287 from PrimeRevenue/feature/unique_value_validation

added unique value validation (custom validation)