Define commonly used console api in server side rendering context

Browser libraries include reactjs assume the presence of a console and commonly use methods such as `warn` or `info` to notify about api misuse or deprecation. If the console is not defined in the server side javascript environment, pre rendering fails because `console` is not defined.