Add optional $quantity parameter to releaseUnclaimedFromCourse()