Fix for problems with newer versions of deform

Fix for issue #14.

Change richtext.pt template to reflect latest changes in deform, as our old template caused JS errors with newest
versions of deform.