CLOUDSTACK-7029: listCapacity fails when podid argument is specified.
Some minor fixes in simulator code