Make heading detection case insensitve

In ``get_style_dict`` when we are determining if a p tag is actually a heading tag it was assuming that the value of the style would be ``Heading \d`` with an upper case H. However it is possible for the style to be ``heading \d``. This needs to be handled