Added R.trim method and simple test. Closes #401

Uses MDN polyfill to comply with ES3.
> should include a test to show that the input string is not mutated.

Strings is immutable in JS and passed by value, not by reference.