CLOUDIFY-1705 Refactored MockAgent out of ResourceMonitorServerIT
Fixed checkstyle warnings