Allow widgets to forward events to outer UI

ItemTemplates now return a list of any event objects they want handled
by outside code (for example, an item in a list has a button which says
'remove me from this list')
pep8