added validation conditions
merged with develop
bugfix and cleanups
added build files
Merge pull request #157 from massiveart/bugfix/datagrid-validation

added validation conditions