Improve get_classes matching
Improve get_classes matching

When looking at the INSTALLED_APPS entries, Oscar wrongly matched apps
ending with the same string as an Oscar app. The app in question was
named phone2address and came before the custom address app, and classes
weren't picked up as a consequence.

It was reported on the mailing list:
https://groups.google.com/d/msgid/django-oscar/CAJrCdYATiqd317ijwPZ33VmGuWKvzoHZOV16aQJ-J0fBBe_Asg%40mail.gmail.com?utm_medium=email&utm_source=footer

adamend/django-oscar,nfletton/django-oscar,okfish/django-oscar,taedori81/django-oscar,Jannes123/django-oscar,solarissmoke/django-oscar,john-parton/django-oscar,pdonadeo/django-oscar,pasqualguerrero/django-oscar,WillisXChen/django-oscar,binarydud/django-oscar,Jannes123/django-oscar,bnprk/django-oscar,rocopartners/django-oscar,MatthewWilkes/django-oscar,kapari/django-oscar,josesanch/django-oscar,jinnykoo/wuyisj.com,ahmetdaglarbas/e-commerce,rocopartners/django-oscar,okfish/django-oscar,Bogh/django-oscar,nfletton/django-oscar,itbabu/django-oscar,sonofatailor/django-oscar,bnprk/django-oscar,spartonia/django-oscar,sonofatailor/django-oscar,manevant/django-oscar,pasqualguerrero/django-oscar,john-parton/django-oscar,vovanbo/django-oscar,machtfit/django-oscar,taedori81/django-oscar,jmt4/django-oscar,MatthewWilkes/django-oscar,taedori81/django-oscar,spartonia/django-oscar,nfletton/django-oscar,amirrpp/django-oscar,anentropic/django-oscar,dongguangming/django-oscar,saadatqadri/django-oscar,Bogh/django-oscar,eddiep1101/django-oscar,itbabu/django-oscar,WillisXChen/django-oscar,jinnykoo/wuyisj.com,jlmadurga/django-oscar,WillisXChen/django-oscar,anentropic/django-oscar,michaelkuty/django-oscar,jmt4/django-oscar,dongguangming/django-oscar,monikasulik/django-oscar,bschuon/django-oscar,QLGu/django-oscar,michaelkuty/django-oscar,manevant/django-oscar,thechampanurag/django-oscar,ademuk/django-oscar,dongguangming/django-oscar,nickpack/django-oscar,monikasulik/django-oscar,kapari/django-oscar,bschuon/django-oscar,itbabu/django-oscar,adamend/django-oscar,spartonia/django-oscar,nickpack/django-oscar,solarissmoke/django-oscar,vovanbo/django-oscar,vovanbo/django-oscar,pasqualguerrero/django-oscar,mexeniz/django-oscar,jinnykoo/wuyisj,kapt/django-oscar,sasha0/django-oscar,MatthewWilkes/django-oscar,itbabu/django-oscar,jmt4/django-oscar,marcoantoniooliveira/labweb,bnprk/django-oscar,sasha0/django-oscar,solarissmoke/django-oscar,marcoantoniooliveira/labweb,nickpack/django-oscar,ka7eh/django-oscar,faratro/django-oscar,binarydud/django-oscar,jlmadurga/django-oscar,WadeYuChen/django-oscar,WadeYuChen/django-oscar,kapt/django-oscar,django-oscar/django-oscar,rocopartners/django-oscar,faratro/django-oscar,bnprk/django-oscar,saadatqadri/django-oscar,jinnykoo/wuyisj.com,lijoantony/django-oscar,WillisXChen/django-oscar,thechampanurag/django-oscar,binarydud/django-oscar,mexeniz/django-oscar,manevant/django-oscar,eddiep1101/django-oscar,marcoantoniooliveira/labweb,sasha0/django-oscar,ademuk/django-oscar,jinnykoo/wuyisj,rocopartners/django-oscar,lijoantony/django-oscar,ademuk/django-oscar,anentropic/django-oscar,adamend/django-oscar,WillisXChen/django-oscar,jlmadurga/django-oscar,lijoantony/django-oscar,saadatqadri/django-oscar,jinnykoo/wuyisj.com,thechampanurag/django-oscar,eddiep1101/django-oscar,saadatqadri/django-oscar,jlmadurga/django-oscar,ahmetdaglarbas/e-commerce,WadeYuChen/django-oscar,WadeYuChen/django-oscar,Bogh/django-oscar,Bogh/django-oscar,marcoantoniooliveira/labweb,nfletton/django-oscar,jinnykoo/wuyisj,ademuk/django-oscar,pdonadeo/django-oscar,michaelkuty/django-oscar,ahmetdaglarbas/e-commerce,jinnykoo/christmas,ka7eh/django-oscar,bschuon/django-oscar,MatthewWilkes/django-oscar,mexeniz/django-oscar,solarissmoke/django-oscar,eddiep1101/django-oscar,faratro/django-oscar,sonofatailor/django-oscar,amirrpp/django-oscar,okfish/django-oscar,monikasulik/django-oscar,manevant/django-oscar,anentropic/django-oscar,django-oscar/django-oscar,Jannes123/django-oscar,kapari/django-oscar,lijoantony/django-oscar,josesanch/django-oscar,monikasulik/django-oscar,binarydud/django-oscar,QLGu/django-oscar,machtfit/django-oscar,pdonadeo/django-oscar,bschuon/django-oscar,adamend/django-oscar,faratro/django-oscar,jinnykoo/christmas,john-parton/django-oscar,QLGu/django-oscar,ahmetdaglarbas/e-commerce,amirrpp/django-oscar,spartonia/django-oscar,ka7eh/django-oscar,jinnykoo/wuyisj,mexeniz/django-oscar,jmt4/django-oscar,dongguangming/django-oscar,django-oscar/django-oscar,QLGu/django-oscar,ka7eh/django-oscar,pasqualguerrero/django-oscar,thechampanurag/django-oscar,django-oscar/django-oscar,pdonadeo/django-oscar,kapari/django-oscar,Jannes123/django-oscar,WillisXChen/django-oscar,sasha0/django-oscar,sonofatailor/django-oscar,taedori81/django-oscar,vovanbo/django-oscar,michaelkuty/django-oscar,nickpack/django-oscar,josesanch/django-oscar,amirrpp/django-oscar,kapt/django-oscar,john-parton/django-oscar,okfish/django-oscar,jinnykoo/christmas,machtfit/django-oscar