Bug 961194 - Pull out stack utils in loader to prevent circular dependencies in SDK
Merge pull request #1369 from jsantell/961194-modularize-loader-utils

fix Bug 961194 Modularize toolkit/loader, r=@erikvold, @gozala