Added thread id to return of add post.

Used for the front end can add a thread and then navigate to it
directly.