Moved temporary object file cleanup to buildtool, so it can be called when required via RuntimeObjectSystem. Examples cleanup on shutdown.