Support empty paragraphs

If a StructuredText element contains an empty paragraph, the wrapper will error out as `index` will not be defined.  This pull request fixes that and adds a test to verify the fix.