DS-1683 Porting of spellcheck functionality to the JSPUI

This is a porting of the Spell checker functionality introduced in 4.0 for XMLUI.
It was pre-approved to merge and accepted after the PR deadline because we have decided to manage PR that re-stablish parity between UIs mainly as bug fix