Added shortcuts for logging to console.

  * Added wlog(qobj) to faciliate the obtaining of a logging object.
  * Added wdebug(qobj,text) to make debugging easier.
  * Added wwarn(qobj,text) to make warning messages easier.
Added changes due to logging infrastructure.
Added documentation in application.hpp