reformat portlet templates: use 2 spaces indentation, except for attributes in newlines 4.