Initialize has_many associations as empty arrays
Log payload for debugging
Support :include option on create and update to send associated (has_many) models with the payload. Usage is

	model.save(:include => :associated_models)

It is also possible to pass an array to include more than one association.
Automatically set association_id when settings a belongs_to association by object.
Fix project deprecation warning
Add note about reachability

Something I learned from your TinyMon app!
Merge pull request #9 from andyw8/patch-2

Add note about reachability
Merge pull request #8 from andyw8/fix_project_deprecation_warning

Fix project deprecation warning
Support for Rails convention of nested attributes to be named <association_name>_attributes. Simply add the suffix _attributes to the association name.
Allow instantiation by ID alone.
Allow customizing encoding/decoding of URLs
Re-enable auth failure tests
Document URLEncoder class
Make json_root configurable

Also guard against arr_rep not being set.  For instance if json is
returned that doesn't match the given root.
belongs_to accept :class_name as well

Extend belongs_to to use same syntax as has_many.
belongs_to setter must also convert to class_name
Move class lookup inside defined functions

Was a mistake to attempt to perform lookup only once, that would require
all :class_name objects to be forward declared.
Coding style fixes
Spec for json_root
Code style fixes