Extend the rest config support for the script community module.

You can now list, get, create/modify, and delete all script extension points (was, function, wfs tx, and apps). Also add Xml and HTML in addition to JSON as return types. Backport of #556.