Feature/tokeninfo endpoint

For #91. NOTE: Don't review this until #168 is merged, because this is a branch off it.