Move match success to the grb struct.

This is for being able to access this variable inside the output templates.
Added named output templates support.

This will be used to refer to a specific template in the catcierge_execute function