Add a CompoundEvent class which represents
an event that can be represented as a logical
composition of several events working together.

Also adds a 'longpress' event.