feat(server): add configurable token expiration
You can now configure the time a token expires in by using the pubsweet-server.tokenExpiresIn
configuration option. In addition to seconds (if tokenExpiresIn is an integer), you can also specify
the expiry time in friendly string options, such as tokenExpiresIn: "2 days"
For more information
about available values, see https://github.com/zeit/ms.
Closes #427 (closed)