Trigger minidump on lua crash

Also, refactors bootstrapping/error handling a bit to make this happen.  There is now just one pcall that catches all the things.