Adds asynchronous thread management

- Posix Thread and Gevent support
Moves imports
Merge pull request #497 from lukecampbell/async

Adds asynchronous thread management