Add spec and fixes a bug where there's no text= parameter

Add basic spec files to test the webhook behavior, and fixes a bug where the bot returns `undefined method `[]' for nil:NilClass (NoMethodError)` when there's no "text=" POST parameter.