Move constants to the top, expiration adjustments

All global constants now reside at the top of the code
PlanType default expiration set to NEVER_EXPIRE
CaseRun default expiration is now NEVER_CACHE