DS-1603 - added Coverity security library, and used it to harden profile fields in JSPUI

Beefed up the existing addentities method, using the Coverity security library, and used it throughout JSPUI's handling of profile fields. Confirmed to address the issue described by DS-1603.