Fixes #226.  Also fixed some compiler warnings.
Merge pull request #227 from jpav/master

Fixes #226.  Also fixed some compiler warnings.
Fixes #228. Also renamed base exception to BaseException and made abstract, adding a concrete CommonException subclass to the same package.
Merge pull request #229 from jpav/master

Fixes #228. Also renamed base exception to BaseException and made abstra...
Fixes #230. Also made logging facility use calling method as context.
Merge pull request #231 from jpav/master

Fixes #230. Also made logging facility use calling method as context.