Added TrimEnd.
Implemented Trim.
WA for the compiler limitation with static.
Merge pull request #7 from bmustiata/master

Trim and TrimEnd support.