Add karma reporting functions to scripts/

The script will start a python REPL, from which you can call the
reporting functions.

[#70066674]