Fixed some really stupid bugs.

Things I forgot to do the first time around:
    Check if there were actually any classes before adding them to the
    "classes" list.
    Check if there were any items in the classes list before processing
    it.
    Add items without any classes to the tree.

Thankfully, it's all fixed.
Properly format per rest of project.
Merge pull request #30 from cpancake/master

Fix some really stupid bugs in RantDictionaryTable.Exporter