make it possible to catch errors in the getProductsForIds request.
also pass along request error if it occurs during purchase!
Merge pull request #13 from hakanw/implement_error_checking_in_get_products

make getProductsForIds and purchase handle errors in the product requests