client: injecting stdin on NewClient
image: passing stdin to body when requesting image creation

Also some tests refactoring.

Relates to #24