Extract card deck generation into Utilities.getCards() (which is now memoized)
Merge branch 'master' into templates

Conflicts:
	tools.js