add restapi testsuite from https://github.com/giulivo/imagefactory-tests-restapi
Merge pull request #238 from giulivo/restapi_tests

add restapi testsuite