API doc updates, API code fixes for recent encoding method enhancements, minor fix with get_orders