consistent use of class instead of struct for exceptions
fix nasty bug caused by private inheritance of std::exception
fix warnings and clang errors
Merge branch 'master' of github.com:toffaletti/libten
Merge branch 'master' into take2

Conflicts:
	benchmarks/iopool.cc