Added Pipe documentation, made some methods const

Oh and doxygen, just read the .h files from now on. No need to document my testing stuff.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>