When adding an object to flush on save, set it's flushable cache to ensure it is set.
Merge pull request #25 from isaacgrant/flush-on-save-improvements

When adding an object to flush on save, set it's flushable cache to ensure it is set.
Add an abstract base class to make deleting objects easier.

Similar to AdminObjectEdit, but not quite as polished for now.
Build the deleted message before deleting the objects, so they can be used to build a better message.

This does not bother passing around the objects as the message building methods can always call getObjects().
Clean up the $objects property comments.
More consistent method names for building the deleted message.
Add methods to allow easily building delete confirmation messages without the use of AdminDependency.

These messages look similar to AdminDependency messages, but should be more flexible, and are completely optional.
Merge pull request #24 from isaacgrant/admin-object-delete

Add an abstract base class to make deleting objects easier.
Add support for automatically saving modified date on edits.
Add support for replacing objects upon saving to AdminObjectEdit.

This is useful for things like SiteImage where replacing the id of the object is desirable to circumvent browser and CDN caching.
Fix a typo in the comments.
Better $old_object cloning and deleting.

 * Only clone the $old_object when it's needed.
 * Only delete the old object on edits.
 * Fix a long standing issue where the $old_object is added to the cache clearing queue after it has been updated. New code correctly clones it before it's values are modified.
Merge pull request #27 from isaacgrant/admin-edit-object-replace-object

Add support for replacing objects upon saving to AdminObjectEdit.
Add a method to get the current time

This allows all dates, such as modified_date and createdate to use the exact same time, without initing the current time needlessly.
Fix some shameful typos in the documentation.
Only update the modified date on an object if it is modified.
Move getCurrentTime() along side the other get methods.
Merge pull request #26 from isaacgrant/admin-object-edit-modified-date

Add support for automatically saving modified date on edits.
prepare for release of 2.0.12 | package party
Move deleteOldObject() to after postSaveObject()

This change allows postSaveObject() some more flexibilty. For example if the postSaveObject() is used to update a binding table value that has an on delete cascade, this allows the reference on that table to be updated to the new object before the old object is deleted, preventing an unwanted cascade.