and return the promise-like result of $.ajax for API
- Fix the "apiClient.escapeString" issue - Remove unused code in api.mustache - Add test case for creating and getting Pet