Updated docs, added an example for adding a thread.
removed unused variables (Thx ZeroBrane Studio code analysis!)
Merge pull request #4 from Tieske/master

Doc update
support for lua 5.2
fix merge conflict
fix version in README
Merge pull request #1 from keplerproject/master

merge from keplerproject/copas