exposed BehavioursIndex on entities, mapping from type to behaviours assignable to that type

Signed-off-by: Martin Evans <martindevans@gmail.com>