Add DeckLoader, XMLDeckLoader and tests.
Fix mana cost parser to account for empty mana costs for things such as
land.
Add generalized average and count to the Calc module.
Use said functionality in XMLDeckLoaderTest.