switching current basic auth to use request funct
fixes #87, fixes #85, adds sendImmediately flag to auth object. Adds digest flag to auth function.
Merge pull request #88 from dbashford/use-request-add-digest

Use request package, add digestAuth handling