Set using_hash when applicable

If encoding fails, error message will correctly determine if hash or not

Signed-off-by: James Warren <admin@trezanik.org>
Export JsonRpc class + error function

Not usable in other interfaces otherwise, naturally.

Signed-off-by: James Warren <admin@trezanik.org>
IrcEngine to call updated UI function name

Signed-off-by: James Warren <admin@trezanik.org>
Add MethodLocked to ERpcStatus

Signed-off-by: James Warren <admin@trezanik.org>
Throw JsonRpcError if attempting to call a locked method

Signed-off-by: James Warren <admin@trezanik.org>
Whitespace for clarity, clearer comment

Signed-off-by: James Warren <admin@trezanik.org>