Fix debug flags for GCC >= 4.8
Throw AssertError on contract failure instead of abort()
Change order of makeDir arguments
Delete copy and move operators/constructors from readDir
Add ASAN option (for GCC >= 4.8 and CLang) to CMakeLists.txt