Only push arguments if ApiHelpers::ATTRIBUTES is defined

Earlier Spree 2.1.x revision don't have that logic defined

Fixes #14
Add pg to gemfile