Refactored Sales Order sync, moved GCore calls to gcore-ruby