Project Class: add method to check if repo is supported

Clean up code in l10n-init, remove duplicated code in checkvariables.
Merge pull request #272 from flodolo/l10n_init

Project Class: add method to check if repo is supported