Allow ActiveRecord::Relation#update to run on result of a relation with callbacks and validations

- Right now, there is no method to update multiple records with validations and callbacks.
- This commit allows that by making id attribute optional.
- When id is not given it updates all records of the relation with given attributes.
Acked-by: Prathamesh Sonpatki <csonpatki@gmail.com>