Add querystring stringify, url{en|de}codecomponent

Including tests. The *component methods probably need a bit more
love to make them more on parity with the javascript equivilents.

Signed-off-by: Tim Smart <tim@fostle.com>
Add order array option to querystring.stringify

This should allow people who need to make sure their keys are in
alphabetical order and such to do so.

Also a bit of DRY and make sure code is less than 80 characters wide.

Signed-off-by: Tim Smart <tim@fostle.com>
Tidy up querystring.stringify

Remove a log, and save a type() call.

Signed-off-by: Tim Smart <tim@fostle.com>
Fix missing handle increment on watcher creation
Implement optional extension removal in path.basename
Merge pull request #411 from cehoffman/path_basename_ext_rm

Implement optional extension removal in path.basename
Fix the path basename tests to have specific tests for windows.
Merge pull request #412 from rjemanuele/windows_test_fix

Fix the path basename tests to have specific tests for windows.
Mixed path separators in 'example/web-app/server' on Windows.

Windows allows either '/' or '\' as path separator though it forbids mixed path separators within one
fs request string. At the same time all URL requests use / in GET/HEAD/etc path.

As result example solutions created mixed path string and forwarded them to fs.open or fs.readdir.

This commit adds convertation of path separators into OS required type.
Fix mixed path separators on Windows platform in tools/bundler.lua

path.join() is the good replacement of hardcoded paths and it provides correct strings for both windows and
posix types of paths.
Merge pull request #417 from norefle/windows-version-fix

Fix mixed path separators in 'example/web-app/server' and 'tools/bundler.lua' on Windows.
Libuv and luajit upgrade plus 64-bit windows support

Major:
* bump libuv to v0.10.13
* bump luajit to v2.0.2
* add dep for cares
* set the tty readable flag on creation for it to be able to read windows stdin
* fixes(signal) - New unix signal handling - Ryan Phillips <trolocsis@gmail.com>
* don't call pauseNoRef whenn operating on a file which uses pure lua implementation of a stream. - Brandon Philips

Supplemental:
* Gyp cleanup.
* Build Windows x64 on an x64 capable platform.
* Use Gyp to autodetect MSVS version
* Disable install target on Windows
* Add .gitignores for generated Windows files.
* makefile fixes
* add support for process.on, fix multiple handlers
* unit test and bug fix
* add license header
* remove listener for signals
* remove dead code
* Makefile fixes for clean, cares, and zlib
Merge pull request #419 from rjemanuele/upgrade_libuv

Libuv and luajit upgrade plus 64-bit windows support
Merge branch 'upstream_master' into racker_master
Merge pull request #410 from cehoffman/fs_watcher_fix

Fix missing handle increment on watcher creation
Add cares into the event loop
Merge pull request #421 from rjemanuele/cares_fix

Add cares into the event loop
Merge branch 'master' of ssh://github.com/racker/luvit into upstream-master
add deps/cares to gitmodules.local
fix path for cares