Change script loading for worker to only load scripts in deck list. Add failsafe methods in CardDefinitions.getCard and TokenCardDefinitions.get to dynamically load missing scripts.
merge and normalize changeset from mike
reduce nestedness of lazy loading logic