Return a repo's colour, given by its language

Introduce a LanguageLibrary class to move responsibility out of the
Language and LanguageDetector classes.