added a System.Trace logger

bugfixes for trace logger
Merge pull request #142 from Aaronontheweb/trace-logger-squash

Added a system.trace logger