Remove duplicate function. Fix indentation. noref
Merge pull request #29 from colinmollenhour/master

Remove duplicate 'trim' function. Fix indentation.