ActiveRecord-style associations and miscellaneous fixes for nested ActiveResources