Reformat textconvert source to adapt our formating conventions
Change default to 0 for setting dimensions on image insert
Enable compatibility to PHP 5.4