fix activeresource build method
adding test
fix ActiveResource::Base#build for ActiveResource 3.0, too