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