Fix handling of list=status such that it will actually work in absense of the state command, to make it useful from /usr/bin/ansible and the API.  Also some minor style fixes.
Fix handling of list=status such that it will actually work in absense of the state command, to
make it useful from /usr/bin/ansible and the API.  Also some minor style fixes.

thaim/ansible,thaim/ansible