docker ps: introducing filters

starting with filtering for exit codes.

This requires dotcloud#4430 (i'll rebase this PR once it is merged)
ping @vbatts