repo contents api: create a file
http://developer.github.com/v3/repos/contents/#create-a-file
Create, update and delete file API methods added
proper proxy handling
fix port of final url not used if proxy
add default port/protocol for proxy if absent
change default proxy protocol to https
replace simple quotes with double quotes
Merge pull request #102 from nojhamster/master

Proper proxy handling
Be able to prefix path to an API (refs #105)
Allow `Accept` request header

GitHub uses `Accept` to specify different response versions/formats.
See: https://developer.github.com/v3/media/
Merge pull request #112 from freewil/req-header-accept

Allow `Accept` request header
Adding X-GitHub-OTP request header to the whitelist to make it compatible with two-factor auth, close #98

Signed-off-by: Henrique Vicente <henriquevicente@gmail.com>
Add the 'X-GitHub-OTP' header to the docs of the param on the `msg` object

Signed-off-by: Henrique Vicente <henriquevicente@gmail.com>
Add info about how to use library this with two-factor auth + Oauth

Signed-off-by: Henrique Vicente <henriquevicente@gmail.com>
Source formatting

Signed-off-by: Henrique Vicente <henriquevicente@gmail.com>
Adding instructions of how to create token for you application instead of info regarding two-factor auth only

Signed-off-by: Henrique Vicente <henriquevicente@gmail.com>
Merge pull request #114 from henvic/fix-two-factor

Fix incompatibility with the new GitHub's two-factor authentication feature
Merge branch 'master' into gh-enterprise-prefix
Fix modifying the URL to add the preffix path

See https://github.com/mikedeboer/node-github/pull/106#discussion_r7461460
Merge pull request #101 from skovalyov/repo-contents-api

Complete repo contents API with missing methods