#1035: Fix search for installed pdepend if running in composer.
#1035: Cleanup and fix composer detection.