FieldDefinition is renamed to BaseFieldDefinition, Use routes in the entity type preprocess functions 

* FieldDefinition is renamed to BaseFieldDefinition https://www.drupal.org/node/2315237
* Use routes in the entity type preprocess functions