Added invoke queries.
Fixed issue where getting invocation from BPS event would check for an error before getting the invocation.
Implemented Invocation filters, lists, query results, and a small utility.
Added common invocation actions.