Updated parser to correctly process category headings for storage. Their level of heading is now stored in the database as a numeral attached to the front.