Core: added functionality to lookup profile in sites/all/profiles directory