Support for Trading Partner endpoint

Also adjusted POSTFIELDS, updated cassettes, and changed usage to look for 'application_mode'.