core: Add daemon threads

Many high-level programming languages that support threading have the
concept of "daemon threads". E.g. Java and Python.

This PR adds deamon threads to RIOT. If the system is compiled to shut
down if the last thread was finished (compare #972), then a daemon
thread won't prevent that.