Add optional expires_in parameter to BearerToken

The expires_in is still 3600 by default.
Add token_expires_in opt to all-in-one endpoints

It still works as it has worked until use the option.
Merge pull request #160 from bpc/configurable_expires_in

Make OAuth2 BearerToken’s expiration time configurable