allow lifetime==0
fix typos in default_lifetime()
Merge pull request #4 from opentechinstitute/non-exp-apps

App expiration tweaks