[CR-3918][IDME-208] Fixed handle script action so that it returns the response. Fixed the unit test that goes along with it.

git-svn-id: https://svn.forgerock.org/openidm/trunk@3484 d98387aa-ee2c-4292-a9e6-504d2a719fd3