Added LogicComponent concept.

LogicComponent is the base element that extends OGEL with extra
functionality. For example Application and Library will implement
this LogicComponent.

LogicComponents are managed by LogicComponentManager. It's possible
to register new LogicComponent handlers and add/remove LogicComponent
objects.
Fixed a small bug with LogicComponent registration.
Application ands Libraries are now LogicComponents.
Made names and events more consistent.
Merge branch 'logic-components'