Changes from Baobab Development

There are a few new features and bug fixes in this branch, including:
- the Inbox App ID is exposed in addition to the BaseURL
- updated attachments logic: attachment JSON is now returned in the request for messages, so attachmentIDs -> attachmentData (similar to tagData on threads)
- tag interactions are now supported on threads
- you can fetch the drafts of a thread in addition of the messages of a thread
- preliminary support for downloading attachments (via https://github.com/eligrey/FileSaver.js/, not included)
use braces for these, it's a single statement now but in the future that could change. The only cases where braces should be avoided for single-statement lines is when the single statement is a `return ...` statement, really.