[Reviewer: Rob] Add sub_max_expires parameter

Rob, can you review this change to add a sub_max_expires to control the maximum expiry time of a subscription.
Tested live and in UTs.

Fixes #660