Implement 'ps' method in docker lib

Add implementation of the docker ps() method and tests.

Also fix incorrect copyright years in test files.