Add a stream-returning version of CrossPlatform::debug

Usage:

``` c++
CrossPlatform::debug(DEBUG_LEVEL)
    << "some string"
    << someVariable
    << std::someIoManipulator
    << std::endl;
```