[PR] Allow figure and figcaption to center properly when .aligncenter is used

* [x] Add a `style="width:###px;` to output of `figure` so that auto margins can work
* [x] Add text alignment to the figcaption of a center aligned figure
* [x] Rework duplicate margin rule on aligncenter