Make Wrapper.cloneIntoContentScope handle functions and primitives correctly
Merge branch 'master' into jsd2
Clean up content scope wrapping in SourceEditor constructor
Issue 6945: Command editor should live in content scope

https://code.google.com/p/fbug/issues/detail?id=6945