Added condition to transition
Added comments to add event
Added a subclass of StandardError
Added handling for transition condition
Updated travis.yml file
Added tests for transition conditions