works with 1.0.0 but still needs new properties including
fixes to agents and groups
change version to 1.0.0
couple of fixes

reverted to 0.95 for compatibility with Wax. Fixed a bug.
May have introduced new bugs - not tested properly yet!
now supports groups as the object of the statement
Support for statementRef object
support for different versions
Added result
Added result