adds the ability to make test requests using the OPTIONS HTTP method

This patch depends on igrigorik/em-http-request#193 being pulled, since
that is the http client being used by the test_helper. Once that's in
place you'll be able to test that your endpoints properly respond to
OPTIONS requests, which are used by JavaScript clients as a pre-flight
check on the ALLOWED_METHODS header when making non-idempodent requests
such as PUT and DELETE (not-including POST).
updated the inline docs to read a little nicer :)
Merge pull request #184 from xentek/options-request-test-helper

Options Requests in Tests
Stop runner overwriting RACK_ENV environment variable.

Although a Goliath::Application will pull its environment from
RACK_ENV (if provided), the built-in Goliath::Runner only
responds to the -e flag on the command line, and will override
a value provided by RACK_ENV.

This minor change just stops the Runner overwriting Goliath.env
if it already has a value.
Move all environment handling into the runner.

Previously, the environment handling was performed in a couple of
different places because of a need for it to be set at require
time, but be parsed during runtime.  This commit doesn't change
that behaviour, but does tidy it all up by encapsulating the
environment parsing within the runner.

This fixes the issue whereby the environment was always reset by
the command-line parsing in the runner, even if it had already
been set via RACK_ENV.

It also enforces a precedence order for where the environment
variable can come from.  In increasing order of precedence:

1. Default (as set above)
2. RACK_ENV
3. -e/--environment command line options
4. Hard-coded call to Goliath#env=
Merge pull request #180 from timblair/single_env

Stop runner overwriting RACK_ENV environment variable.
make specs & examples JRuby friendly
- use MultiJson interface
- make yajl requires conditional
- use maruku (pure ruby) markdown gem for templates
- maruku autoescapes quotes: drop quotes for consistent tests
make gemspec happy in jruby 1.6.7.2
Remove guard version lock. Fixes 186.
1.0.0.beta.1
If sending a string, force_encoding to binary in order to avoid conflict with the over-the-wire encoding.
1.0 changelog
add max_frame_size logic to ws handler
Merge branch 'patch-1' of git://github.com/foysavas/goliath
force to_s, convert to BINARY
1.0.0 - at long last.
adding a console to goliath
fixing a spelling mistake
Merge pull request #202 from nolman/fix-typo

fixing a spelling mistake
moving console to the top of the common options, removing comment