Fix for language changes
Merge pull request #20 from RossMeikleham/master

Fix for latest nightly

lib.rs:
Fix for changes to macros, and tuple indexing.

tests.rs:
Fix for language removal of proc, replaced with move.
Replaced depreciated std::task with std::thread
Minor stylistic tweaks
Update for latest rustc

str::from_utf8() now returns a Result.