3.0 Add method to Table to introspect loaded behaviors.

Add behaviors() and hasBehavior() to Table to allow introspecting the
loaded behaviors.

Refs #2304