Move removeHtmlAttribute into ve.dm.Model

Make available only as a static method so you don't accidentally
change a node without using a transaction.

Change-Id: If27442b502ec176a58e75ef4f9afa5119d06dcc5
(cherry picked from commit a1c1016baeff05c48da14a1cbfa7724a943fe1e0)