Unify Monitoring_AlerthistogramController::getHostRecords() and ...::getServiceRecords() into ...::createHistogram()

refs #4474