Remove unused function.
Add constants for JMRI error codes returned in JSON