New trim() method

Will remove all tabs and newlines.

Works with strings, objects, and arrays.

$content is a pointer and is updated as well as returned. Meaning:
$var = $xml->trim($var) is effectively the same as $xml->trim($var)
Class variables are protected instead of private

Also, trim $content