Unwrap Behaviors.behaviorTriggers and Behaviors.behaviorEvents

This is the final (and best) installment of the unwrap series of prs. This moves the build step for behavior events and triggers to the view. @jfairbank I think you're going to like this one.