Index name and type columns in Cards table
Add support for Hstore datatype and mana column