Change to allow startsWith to be supported instead of just startswith
Added hooks to add and remove items from the external index as well as to trace work performed on add, query and delete
Added EXAMPLE of how to extend functions to an entity