client: add file for image related methods

Related to #3, #4, #11 and other image issues.
all: rename some tests
client: support struct tags in the queryString function