Merge pull request #268 from krakjoe/master

merge changes to std.concurrent
- Constify
- Fix code changed by merge
- Fixed return statement on global scope
- Temporary fix to tests that are hanging forever
- Removed unused code, and unneeded macro
- Restore thread control function
- Removed unused member in Literal
- RefCounted::m_reference is now typed as size_t
Removed some global locks
Removed some global locks
no there are race condition... =/
Race condition solved
- Added -r option to testrunner to run helgrind on the tests (issue #266)
- Fixed file extension checking
- Changed testrunner output to display the current file being tested
- Moved Environment clear() method to its destructor and other improvements
- Remove unused line
- New test for user class
- WS