Basic support for X costs

Will accept X throughout the costs, though it won’t increase X above
zero when trying to pick spells to cast.  Added an X-based creature
(Mikaeus) for testing.