Emitting a `segments.ready` event.

It enables to display segments whenever it is possible without messing with race condition.
Merge pull request #37 from bbcrd/feature-segments-ready

Emitting a `segments.ready` event.