fixed boolean regexs
add parsed sections to the top level section object
Merge pull request #1 from bevancollins/master

fixed boolean regexs and ensure sections are linked to the top-most one