Added create and addauth to API. Success and errors output correctly

Can create accounts and add auth codes from API (JSON/XML only).
Success and error outputs will output whatever mode you're in
(XML/JSON). Added createdby fields.