Refine regex in standardize img tags method
Simplify. A method to return a new DOMDocument seems a bit excessive.
Move pre-instantiation methods out of the image model