Adding buttons Play, Record, Stop and Flush

There were 2 concepts of state in the application which are now changed
into Snapshot and Mode.
- Snapshot is the 'state' of the textarea along with a timestamp.
- Mode is the 'state' of DevPresenter, wheter it is recording or
  reproducing the recorded snapshots.