Add OnCoreMapEnd to extension's interface.

This probably wont be used by many, however I find it would be useful to add a OnCoreMapEnd removing the need for extensions to hook LevelShutdown. I tested this briefly on windows and everything seemed to work.