docker ps: introducing filters

starting with filtering for exit codes.

This requires dotcloud#4430 (i'll rebase this PR once it is merged)
shit i force pushed from another computer and axed my corrections to this. one moment.