Introduced the new "source" plugin, which makes source editing available in a dialog.
Fixed selection issues in gecko, webkit and IE on dialog close.
Added sample for source plugin.
Fixed jslint issue.