remove a bunch of old task apis. update test_task to new api.
Merge branch 'master' of github.com:toffaletti/libten
correct iterator usage
go back to count based max for stack cache
register signal stack with valgrind