Invalidate content cache on save.

This invalidates the content cache when saving something, but
doesn't automatically regenerate all pages.

This would previously cause issues in sites with large amounts
of pages.

Change-Id: I7163ce5d02962dd7b6293b8a032cff25fe252086