Rewrite most pulib methods of threading module

The patched threading module has been rewritten to be more expliclty
greenlet-based.
Add module docstring
Remove warning message (now fixed)
Fix various small bugs
Merge branch 'threading-rewrite' into develop

Closes #10

Cassandra SSL support has yet to be tested.