Add documentation and cleanup whitespace in ext.cx.tools.dictionary.js

Change-Id: I69cf8c6eaf0a495a1e873ae2808373b3b25baf84
Merge "Add documentation and cleanup whitespace in ext.cx.tools.dictionary.js"