Adds update method to resource.rb

Allows updating multiple attributes of a resource.
If associations are specified, they will be replaced with new objects
containing only specified attributes.
Resource update returns self
Client update_order can also be used to create