Move Commandpipe/* classes from Icinga Web 2's library to the monitoring module

refs #6593