Implements an Event-Trigger system and a function argument helper for kohana