Remove api_error.rb and move APIError to lib/jotform