add a timeout to simple_post
pep 8 etc cleanup
Merge pull request #59 from dimagi/simple-post-timeout

Simple post timeout