Add xdist detection in setup.py test command

Closes #298
I don't remember the link but the imp documentation : https://docs.python.org/2/library/imp.html
explain that it avoid importing the whole module. I think it is important for big modules that may need time to be loaded.