Issue #2351919 by almaudoh, Wim Leers, claudiu.cristea: Replace uses of drupal_get_path() with __DIR__ or Extension::getPath() where possible