Improve code documentation in abc/exception.hxx

Also make a few method names more readable.
Fix code comments
Remove duplicate comments already in the header file
Improve internal file_lock class

Fix and expand comments, and make the code flow run without assertions.
Improve macros and code documentation in abc/exception.hxx
Fix compiler error