Namespace the alogtools library
Improve handling of file IO problems

- In particular we now deal better with file
  permission problems
- Overhauled exception hierarchy in libAlogTools