Revert "Explicitly use sync versions of cookie functions"
Merge branch 'master' into revert-1031-cookie_sync

Conflicts:
	request.js
Merge pull request #1121 from nylen/revert-1031-cookie_sync

Revert "Explicitly use sync versions of cookie functions"
add basic linting to request library
Merge pull request #1119 from FredKSchott/linting-add

add basic linting to request library
refactor the Request constructor

add some helper functions, and organize other helper functions
move most of the request js helpers into the helpers file
Add back some missing code, remove duplicate lines.
add comments to request constructor and helper functions
use self in constructor for consistency
remove tiny white space
add braces to my conditionals :)
Split control statements onto separate lines and add braces
Merge pull request #1103 from seanstrom/support/refactor-request-constructor

Support/refactor request constructor
refactor the setupTunnel prototype method
update code to follow lint conventions
added tests around using tests for objects in a query string.
put a test around array serialization.
Merge pull request #1127 from bcoe/query-string-objects

added tests around using objects as values in a query string
Add test for setCookie regression

See #1031, #1121, #1092