Don't import .git and .svn folders into the repository

Improved version of the intital work of nelsonsousa
see also http://redmine.webdetails.org/issues/2994