Added event enabling.

Implemented timer compare-match interrupt enabling when timer is started
and disabling when timer is stopped. Also added necessary interfaces in
TargetSystem header and tests.
Updated Trinket sample sources to compile with latest driver code.
Added custom cycle completion handler functionality.