Multiverse/Multiverse-Inventories — pull request #182 by Firedroide (2013-06-20 15:48:49+00:00)
Title: Store WorldGroupProfiles all-lowercase. Fixes Multiverse/Multiverse-Inventories#175

__The Issue:__

At the moment, when a new group is created with uppercase letters, the group works fine and all commands work, until you reload or restart the server.
After the reload, the groups will all still be listed in /mvinv list, but cannot be edited, deleted or otherwise modified with any other command. The groups still seem to work, though.

__PR Breakdown:__

At the moment, WorldGroupProfiles are
* stored with getName().toLowerCase() when the group is first created
* looked up by the group's lowercase name
* but stored with getName() without converting the name to lowercase when the YAML file is loaded.

This essentially leads to getGroupManager().getGroup() returning _null_ instead of the actual group, even when the name is correctly spelled.

This PR changes that and makes YamlGroupManager store the groups in the map with their lowercase name as key.

__Testing Results and Materials:__

* Compiled .jar [here](http://www.mediafire.com/download/1tvva1vek76wjx7/Multiverse-Inventories-2.5.jar), already tested and works.
* The constructor in YAMLGroupManager.java was the only method where the WorldGroupProfile was not .put in the map by its lowercase name.