Slight refactor and Ruby 1.9-style hashes.

Just took a stab at refactoring app.rb with idiomatic Ruby. I tried to remove a bit of excess work, switched to Ruby 1.9 hashes, and switched @@nouns from a @@class_variable to a CONSTANT.