example updates and fixes

Hi all,

I just recently stumbled on this whole "functional programming" thing and shortly after that stumbled on ramda. Seems really neat!

I noticed an error or two in the examples, one thing lead to another, and I ended up writing a mocha test to compile and run all the examples. I went through and tried to get them all in working order. I changed some around slightly but mostly just little syntax fixes.

This commit only includes my fixes to the examples. If you would like me to add the mocha test that compiles and runs the examples as well, let me know and I will issue a separate pull request. Thanks!
Basically the tester I wrote can test function calls and console.log followed by //=>
I added the console.log line so the tester would run it since the comment was in the original.
However, I agree it is unnecessary and it would not be difficult to match the

var x = blah(); //=> 'output'

pattern as well. I'll get rid of the console.log line