Upgraded build pack utils to #9fedcc9.
Parse extensions from composer files using regex instead of json.  When parsing with json, it changes the order of the extensions which is important.  Parsing with regex allows to keep the order fixed.  Also, use utils.unique to strip out duplicates as that does not change the order.
Added test for composer not setting a php version.
Flake8 formatting fixes.