Add version output to the "repl" command

refs #7805
Update unit tests to use the new variable syntax

refs #8074