MDL-39864: First attempt to move badge criteria into a plugin

Language files within plugin directories not yet implemented.
Sort order on criteria.php page is still wrong.
MDL-39864: Fix criteria page sorting and incorrect language strings
MDL-39864: Start moving criteria plugin strings to separate files
MDL-39864: Migrate remaining criteria-specific strings to plugins