[INTERNAL] cleanup of iostream includes

OpenMS contained a couple of (not required) includes of `iostream` in public headers. This pull request removes them if possible.

Additionally:

 * moves a couple of definitions from headers to source files
 * cleans up some formating