copy as new functionality for master and nested tables added
completed port of epiCohortExposure to coffeescript