Issue #1962358 by grom358: Replaced deprecated function calls
Issue #1962358 by grom358: Replaced use of  with Request object
Issue #1962358 by grom358: Replaced use of  with Request object
Issue #1962358 by grom358: Fixed typo with call to moduleExists and replaced a deprecated call to module_exists
Issue #1962358 by grom358: Added missing use of Element
Issue #1962358 by grom358: Added missing use for String
Issue #1962358 by grom358: Added missing use imports
Issue #1962358 by grom358: Replaced calls to token_info etc to the Token service
Issue #1962358 by grom358: Added missing import of Field
Issue #1962358 by larowlan: Create token view modes on install
Issue #1962358 by grom358: Replaced call to undefined function system_get_date_types()
Issue #1962358 by grom358: Field type and formatter types are not plugins
Issue #1962358 by grom358: Fixed typo of __FUNCTION__ constant
Issue #1962358 by grom358: Replaced use of entity_label and entity_uri
Issue #1962358 by larowlan: User picture is a field
Issue #1962358 by larowlan: ip_address() removed
Issue #1962358 by larowlan: taxonomy_get_parents_all() replaced
Issue #1962358 by larowlan: drupal_random_bytes() removed
Issue #1962358 by larowlan: Use new entity API elements
Issue #1962358 by larowlan: drupal_get_path_alias() removed