moved codename from wagn to card
moved sets and set_patterns from wagn to card
Merge branch 'develop' into wagn2card
moved key view definition methods back to renderer
moved still more into renderer