Simplify by getAvailableWorkflows by accepting the filRef instead of the entire entity.  Updated comments and tests to reflect.
Updated workflow initiation logic to make the process faster when the workflow templateId is already known.