Console API

First commit for review.
Implemented:
Console.enable
Console.clearMessages
Console.messageAdded
Console.messageRepeatCountUpdated
Console.messagesCleared