new global logger, defaults to stdout/stderr

This is a patch for #8. I tried to make it compatible with the old version by default.
There is a problem with __AVR_LOG__ macro: it can not be used without __avr__.
That's why I created a new macro: __GLOBAL_LOG__