Added Rarity Enum as discussed on github

Added Rarity Enum, enhanced .gitignore.

Now you can use Rarity as an enum instead of a String, which makes it more fail safe and more readable