Minor cleanup in Component

This change cleans up the component class + accompanying unit tests.
Added mocha gem
require spec helper in channel specs
Do not create empty event handlers automatically

Removes the creation of event handlers when channels are attached to
components. Its better to let it crash than silently misbehave.
Allow events to be stored in components inboxes

Adds an inbox field to components and the functionality needed for
delivering events to inboxes.
Remove dead code