Add missing umount
Test for getLog
Use inspect instead of sys._getframe in getLog
Use regular python decorators for traceLog
Make exceptions and octal literals Python 3 compatible