added a function to save stack trace when AsuraException is generated.

The activity of this function can be controlled by the following
environment variable.

ASURA_EXCEPTION_STACK_TRACE