Separate dumpstack function

Made availible in all programs.  Can be used in GDB via print or
display, i.e
> display dumpstack(L);
> next

To show the Lua stack at each breakpoint