Updated/New Composer support for pear-core

See diff for full changes