implemented more functions; refactoring; db altering

public object listFacilityProblems()
public object calcMaintenanceCostForFacility()
public object calcProblemRateForFacility()
public object isInUseDuringInterval(srtD, endD)