added more sensitive interactionactivity verification; simplified inversefunctional; fixed uri/iri discrepancies from spec; interactionactivities take arrays instead of objects