Make encode and decode accessable standalone
Change decode to use prototype instead of closure
Merge pull request #1 from creationix/master

Make encode and decode available outside the EE interface.