Introduce a helper on SourceEditor for wrapping into content scope

Also fixes wrapping in setSelection.
Include newlines in SourceEditor selection positions

This matches what native textareas do.
Introduce a method on CommandEditor for getting the current selection
FBTest for issue 55 (Auto-completion for Command Editor)

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