Initial trial support.
Trial end check.
Added subscriptions.active column. Ensure subscription is active when refreshing.
Trial logic.
Trial fixes.
Fixed plan validation. Simplified test.
Switched to real time limits.