Make SequencesTests complete.

References Bug 332803.
Workaround for conditionally enabling C++11.
Start fixing SequencesTests.
Don't overload success(), set the status instead.
Unlock the job before callEnd().

Fixes Bug 332803.
Adjust debug levels.
Add and test macros that verify mutexes are locked or not locked.
Defer clearing the last reference to self until the mutex is unlocked.