Made Devel::StackTrace optional

re-factored the code to remove an absolute dependence on the module
Devel::StackTrace being installed, making it an optional enhancement
for when debugging. When debugging, and when the module is installed a
stack trace will be be printed when ever error messages are printed