added proper support for figure, figcaption. legend is now skipped as there is no equivalent html5 element.
Merge pull request #29 from russkel/figure

Figure support