Prepare for asynchronous processing of sentiment

Currently doesn't add any asynchronous abilities, but instead lays the
foundation for moving to asynchronous processing of sentiment requests.
This is preparation for gh-26.