add debug information to chardev_loop
Merge pull request #470 from LudwigOrtmann/chardev_debug

add debug information to chardev_loop
add vtimer_get_localtime