xwen: add validity checks and some back end functions to DeckBuildingModel; not done yet
xwen: fix merging conflicts
xwen: remove unexist import