Take into account when the registration was completed when calculating discount

If the registration was previously completed, go off the completed timestamp when checking discount eligibility, not the current time.
 - also remove some older code that did some calculations that would be saved to the DB. none of the totals due are saved now.