Refactor install path logic to separate module

Extract install path logic to ExtUtils::InstallPaths