Implement new ruby text parsing rules

Don't know if we missed this last time or it's new, but ruby
end tag nodes are valid and tags for ruby text nodes. Also,
a ruby text node is only allowed to be added to the tree if
it is nested within a ruby node.
Merge pull request #378 from RickEyre/add-ruby-rules

Add ruby rules