mozilla/fxa-auth-server — pull request #499 by dannycoates (2014-01-15 21:39:39+00:00)
Title: added app level token expiry

This implements token expiry for `passwordChange` `passwordForgot` and `accountReset` tokens.

The lifetime (in milliseconds) of each token can be configured in the json config file.

```json
{
"tokenLifetimes": {
"accountResetToken": 900000,
"passwordChangeToken" 900000,
"passwordForgotToken": 900000
}
}
```

Deleting expired tokens remains as a TODO and it would still be useful if the data layer could automatically delete tokens proactively, but these are internal issues.

I'm still writing an integration test, but otherwise this is ready for r?