Add unite test for thread safety.

Test event queuing and handling implementation in TBStateMachine.
Add synchronization to -scheduleEvent:data:.
Remove dispatch_sync clause from -handleEvent:data:.
Remove concurrency clause from TBStateMachine documentation since no queue is used anymore.

Refers to issue #5