Merge pull request #2 from nedmas/master

ADDED support for DataObject validation
FIXED DataObject validation bug

Signed-off-by: Tom Densham <tom.densham@studiobonito.co.uk>