Improve: refactor the API error code constants.
Improve: extend python client implementation and test suite with account open, close, modify and authentication.
Improve: minor clarifications of algorithm definition and formatting (for GitHub).