Merge pull request #1 from mro/master

dependencies + typos fixed, easy setup (see Readme)
fix syntax errors in case / when
Merge pull request #1 from mgprot/master

case when fix
ruby 1.9+ syntax compatibility.