Add "postTweet" functionality

This adds a method that lets people post tweets through the API, and a supporting function to allow for POST requests in general.