AppRTC: Add new modules for logging and pubsub.

The logging module will publish an error topic when using Log.error in addition to logging to console. Other interested modules will eventually subscribe to the error topic (e.g. the infobox, which will then display the message).
What if the fn throws an error?