Additional fixes for continuation parsing

- Alpha order the imports
- Add two newlines when parsing since it won't hurt anything to match the
  comments
- Reset the loop iteration persistent header variable when we start a new
  parsing a new section just to be safe
- Still bugzilla 841569