Return an empty array if request fails.

This prevent concat errors in find_all method.
Merge pull request #10 from klacointe/fix_query_and_build_objects

Return an empty array if request fails.