Section alignment: Define section types and improve mt replace

Borrowed the section types from VE
Improved the auto translation so that it does not destroy html structure

Change-Id: If019593d8389083545731d1183c9980201287b62