Issue #2017685 by tstoeckler, dasjo, fago : Automatically create cache tables for entities that want to support entitycache.module.
 Issue #2019299: Add support for hook_entity_view_mode_alter().
Fixed broken tests.
Issue #2171689 by Eric_A, following-up #1796110: Fixed entity views fields being broken when used on relationships.