Added conversion for ParagraphNode to PaintNode.
Remove PaintNode(RenderNode *) constructor and replace with RenderNode::convertToPaintNode().