add thread pool stats

Conflicts:
	elasticsearch.py
Merge pull request #16 from signalfuse/threads

add thread pool stats