$form_state is now a classed object
adding the typehint in the rest of the functions with $form_state

Also the .travis.yml file was updated for use the branch 8.0.x
Fix fatal errors when flag_token_info() is called
Merge pull request #52 from gnuget/master

#52 by gnuget: $form_state is now a classed object
Merge pull request #51 from md-systems/token

#51 by Berdir: Fix fatal errors when flag_token_info() is called