refs #26: added a test showing the horrible things people can do.
refs #26: Namespace the num_ids to deal with have two lists that are not supposed to be the same list since one is in a table and the other is not.
refs #26: I don't think we need lxml
refs #26: added an object for namespaced num id to make it easier.
refs #26: removed a dead return statement
Merge pull request #26 from OpenScienceFramework/issue_26

Certain nested lists cause terrible html to be generated
Merge branch 'master' into issue_25