Provide listname validation in Core
postorius#139 is an issue about making sure that the listname validation in Postorius lines up with the validation done by Mailman Core. As per discussion at PyCon2017, it probably makes more sense for Core to provide a function that can be used for this, so that we don't have to try to keep the UI in sync with Core's listname requirements.