providing a way to explicitly destruct objects in yap

__destruct should be called implicitly at the end anyway, but this gives an explicit way to destruct objects if needed.

Implement the function __destruct() in module code to do any cleanup.

yap()->end();  will explicitly destroy those objects.