Optimize ctkMacroWrapPythonQt creating required source list in a single loop.
Optimize ctkMacroWrapPythonQt creating required source list in a single loop.

See #449

danielknorr/CTK,jcfr/CTK,Sardge/CTK,CJGoch/CTK,SINTEFMedtek/CTK,AndreasFetzer/CTK,commontk/CTK,jcfr/CTK,pieper/CTK,sankhesh/CTK,CJGoch/CTK,Sardge/CTK,CJGoch/CTK,ddao/CTK,pieper/CTK,151706061/CTK,rkhlebnikov/CTK,ddao/CTK,danielknorr/CTK,fedorov/CTK,jcfr/CTK,151706061/CTK,sankhesh/CTK,danielknorr/CTK,laurennlam/CTK,commontk/CTK,jcfr/CTK,danielknorr/CTK,CJGoch/CTK,SINTEFMedtek/CTK,naucoin/CTK,mehrtash/CTK,naucoin/CTK,msmolens/CTK,commontk/CTK,mehrtash/CTK,AndreasFetzer/CTK,rkhlebnikov/CTK,Heather/CTK,commontk/CTK,SINTEFMedtek/CTK,laurennlam/CTK,AndreasFetzer/CTK,fedorov/CTK,sankhesh/CTK,sankhesh/CTK,Heather/CTK,ddao/CTK,Heather/CTK,151706061/CTK,rkhlebnikov/CTK,msmolens/CTK,Sardge/CTK,msmolens/CTK,msmolens/CTK,naucoin/CTK,fedorov/CTK,SINTEFMedtek/CTK,SINTEFMedtek/CTK,mehrtash/CTK,rkhlebnikov/CTK,laurennlam/CTK,AndreasFetzer/CTK,CJGoch/CTK,ddao/CTK,pieper/CTK,fedorov/CTK,jcfr/CTK,pieper/CTK,mehrtash/CTK,151706061/CTK,Sardge/CTK,151706061/CTK,naucoin/CTK,Heather/CTK,laurennlam/CTK