Import pysvn and mercurial modules only there where they are needed.

This imports pysvn and mercurial modules only for the code segments where they are needed.

This helps running rest of pontoon without them installed and gives it a more plug-n-play feel :)