Allow printing from const functions
closes #3338
Merge pull request #3347 from permcody/console_const

Allow printing from const functions
Merge commit 'fb602b54258b36a4e41f78fbf6bcf2ced6fd7d11'