Initial attempt at making triggers first-class values. Added support for trigger types to parser, and minor updates on trigger symbol generation. Added parsing of named addresses with syntactic sugar for resolve invocation.