snf_django: Fix escaping of control characters

Fix escaping of control characters from string and unicode objects. The
function 'safe_string' has been renamed to 'escape_ctrl_chars'.
Also, this function has been applied to the output of 'pprint_table'
utility function and has been added as a method of the 'SynnefoCommand'
class.