Move "navigation" module out of model.js
Move panel.js out of model.js
Remove random "snap" scope inside of model

No coherent reason why some of the model fields were
inside of a "snap" object.
rename snap.js to init.js

It's still a bit unclear why some init is in model.js
and some of it is in init.js though.
Improve a comment in model.js
put debug&& in front of all console.log

This has two goals:
 1. keep line numbers for console.log correct
    (that's why there's no debug() function)
 2. allow disabling logging because it seems to
    cause GC-pinning in some browser versions
Fix editor
Fix theme and font switch
Merge pull request #241 from typesafehub/wip/havocp-debug-log

add debug&& in front of all console.log