Move log widget and app object from model to build

This is to avoid a dependency from compile.js to model.js,
as well as because it's logical.
rename outputModel to outputLog in run.js
Fix reference to model.logModel in test plugin
Rename logModel to just log in run.js
Merge pull request #246 from typesafehub/wip/havocp-relocate-log

Relocate logModel