Fixed various 1.04 bugs.

* Use eq not = for if
* Use =~ not = for regex
* imdb not imbd
* directory named RottenTomatoes not Rottentomatoes
JSON decode data from API

* Appplication using API wrapper shouldn't have to be aware of JSON
Oops, left diagnostic output in place
Merge pull request #1 from mcohan/master

Fixed various bugs to make 1.04 work for me