Added a generic table template/part/view

And added a mana efficiency function to the Card model