added tabs argument to element#write, element#textize, document#write and document#textize which indicates number of spaces for indentation