Textarea auto resize improvements

Editor textareas will shrink when lines are removed and respond to cut and paste events. Also, the resize script is included on page add and edit views.