fix validation function for app settings expiration time field

fixes https://github.com/opentechinstitute/luci-commotion/issues/441.

to test, go to app settings page and click submit. Should not produce a LuCI error.