making pr() usable in terminal
adding new lines for cli
Fix tests for cli runner.
Merge branch 'pr-cli' into 2.4

From pull request 1142
Fix failing test.
Lazy load models in shells