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