add Monolog Logger

For preparation of the debug mode I added the monolog logger and replaced all other outputs by it. The setOutput function of the BuildGenerator is marked as deprecated, this function is not used anymore.