Add thread

Will replace #28.

Waiting for https://github.com/cinemast/libjson-rpc-cpp/pull/56.
Okay, cool :) Just wanted to be sure (but was also a bit lazy I guess), as I've seen many PRs accidentically forcing submodules to commit hashes that were not intended to happen.