[#30205] findmanifest should prioritize main folder manifests

Tracker item:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30205