Better error messaging in suite.js and handling globals not having a .name property
Better error messaging in suite.js and handling globals not having a
.name property


Former-commit-id: f0091441236b061b531bb58ae3e3e930fb13d8bf [formerly d90ab4305f5615544e67aaf687af4fc2c8aca6d9]
Former-commit-id: c38a7256fe052d61dd5425882e59883aa6bf3d6d
romancow/Sugar,romancow/Sugar,andrewplummer/Sugar,andrewplummer/Sugar