Added after events for post-processing

This was useful for doing any longer running post-processing on items that were just inserted, as you need the mongo ID of the inserted item.