ProcessRealsController now flushes writer when finishing a source.
Added integration test for the flushing process.
Merge pull request #63 from drusk/flush_mpc_reject

ProcessRealsController now flushes writer when finishing a source.