Fixed card-name lookups.
Beginning of a test for the SupplyWinApi class.
Updated to be consistent with other scripts, particularly logging.
Added more debugging to help understand what makes this slow.
Fixes known problems for supply_win_api.

This resolves issue #39 by changing frontend.py so that the
name_getter() function does the wrapping in int(). This is needed in
both places where name_getter() is called.

Added test scenarios and modified frontend.py slightly to improve
testability.
Removed unneeded imports, as advised by pylint
Merge branch 'issue_39'

Closes #39.