fix parsing of empty memberlists
add test for list_inventory_supply
PEP8 cleanups
Merge pull request #1785 from disruptek/fix_empty_memberlists

Fix parsing of empty memberlists. Fixes #1784, #1701, #1785.