Added javascript condition option to required field declaration
Add context to required javascript condition so expressions can refer to values of other fields, eg: required if B = true
Fix bug so empty string is invalid on required fields