Remove explicit wrapping of Shellwords.escape in double quotes

According to http://www.ruby-doc.org/stdlib-1.9.3/libdoc/shellwords/rdoc/Shellwords.html#method-c-shellescape

"Note that a resulted string should be used unquoted and is not
intended for use in double quotes nor in single quotes."
Remove expectation of double quotes around environment variables from
test comparisons
Add timeout switch to CLI
Fix man page: --directory is actually --root.
Strip Windows Line Endings
Dont use shared_path variable before multistage has a chance at it
Remove explicit requirement on rubygems.

It's better to not force the use of a package manager. Better to add it
to the global RUBYOPT if needed. Also, this fixes a dependency issue
when using the .deb package (rubygems1.9.1 is not required, and should
not be).
Since JRuby 1.9 doesn't require posix/spawn, only follow that path if JRuby is loaded and running in 1.8 mode.
Don't ignore blank lines in the output

This fixes the stdout code to ensure that empty lines are outputted.
Many times, these blank lines are intentional, so foreman should not
suppress them.

This fixes #286
Ensure foreman is the process group leader

Foreman should be the process leader before killing processes using
his process group id.

Before that foreman was broken when it was not spawned from a shell.
Fix #299 and #260

Some processes close their output channels and IO.select keeps
returning them as "readable", while IO#gets returns nil on them, thus
spending a lot of CPU looping through the same reader continuously
fix color
fix more
Merge pull request #313 from sonots/fix_color

Fix color bug: not intense_cyan but bright_cyan
Merge pull request #303 from fxposter/master

Fix for high CPU load. Fixes #260 and #299.
Merge pull request #302 from ctrochalakis/process_group_fix

Ensure foreman is the process group leader
Merge pull request #300 from mattv/output-blank-lines

Don't ignore blank lines in the output
Merge pull request #291 from liveh2o/master

JRuby 1.9 doesn't require posix/spawn
Merge pull request #288 from crohr/remove-rubygems-requirement

Remove explicit requirement on rubygems.
Merge pull request #280 from BIAINC/windows/host-support

Strip Windows Line Endings