Support for thread/replies.

- Querying for threads
- Querying for replies of thread