Do the extension check first.
Check passed URL for photon. Return unchanged if found.
Gets number of matches instead of array of matches.

Returns composed URL vs assigning back to argument variable.
Merge pull request #2018 from wordpress-mobile/issues/2013-do-not-photon-photon

Issues/2013 do not photon photon