Implement command_line.new_user

* Add a few API exception classes
* Raise a more useful error when no JSON object is returned from a JSON request