RUBYAPI-34 Made ListingCart detect dirty attributes and fixed the

tests

@joshcom take a look please.