Added tokenAsHeader to BaseOAuthClient and checks for this under sendReq...

...uestForData.

Also added some IDEA-specific files and directories to the .gitignore file.