Add sub_max_expires parameter
Add sub-max-expires to valid options
Fix typo
Use standard bash check
Revert bash change
Use correct bash check
Merge pull request #684 from Metaswitch/iss660

[Reviewer: Rob] Add sub_max_expires parameter