added parameters to callRestOnObject and -OnClass

added parameters to callRestOnObject and callRestOnClass
added proper pk setting after save in adapter
dirty tracking for my has many impl

saves relations after creating new record (rather ugly but seems to
work)
hasManyArray tracks childs isDeleted along with isDirty