Cleanup 1

This cleanup consists of three commits:
1. separate the logging to make the include easier
2. fix of some compiler warnings
3. move the tmp folder for linux based systems to /tmp 
-> "This library provides the logging functionality for mars. Either the mars logging (standalone) or the rock logging is used."