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

Uses MDN polyfill to comply with ES3.
strings are immutable I don't think thats necc at all