Client side comment improvements

Added jQuery UI -plugin with some logic to commenting autocomplete.
Commets and tweaks

Added comments to most of the files, and made a class for magic word
reading.
Merge remote-tracking branch 'origin/devel'