Update R example to parameterize the project

Now the user has to provide their project ID, so they shouldn’t get an
access denied by default.

Also updates the readme to reflect the new usage and add a small
troubleshooting section.
Add missing license
Merge pull request #2 from cassiedoll/master

Update R example to parameterize the project