Fix ltrim bug (zolider), adding more test cases.

Also noted that 2nd argument to trim is a set.
Merge pull request #103 from sunyc/master

Fix ltrim bug (zolider), adding more test cases. …