Merge pull request #113 from jackshakes/pr-token-expires-option

Address issue with handling of 'expires' option in AccessToken entity
add an interface for injection typehints
Merge pull request #122 from pmjones/master

add an interface for injection typehints