Correct bad assumptions made when originally writing this algorithm.
Add assertion to block adding duplicate sections.
Merge pull request #4 from jcoleman/fix-ordering-bug

Fix ordering bug
Fix a bug where footers were too tall even when blank
Allow empty row rules to work in ungrouped table views