Encode uri

Add `escape`, `encodeURI` and `encodeURIComponent` functions as found in web browsers.

The output of each function matches the examples given here: http://xkr.us/articles/javascript/encode-compare/