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

Allow printing from const functions