Basic call to /syntaxerrors

Made get_response take an endpoint and additionalparams so it can be reused across multiple calls.

Added on_pre_save call to form syntax checking. Currently just dumps to console.