Support 9.2.1 style section syntax.

Don't remove then re-add parens around (a) when
parsing and converting to XML. Instead, 'num' is the
raw content of the section/item number, and we strip
strange characters only when necessary for IDs.
Correctly nest dotted number item lists.
Update to ruby 2.1.1 and update dependencies.