fix for read me example

"things" left out in read me example; fails with unknown method. Fixed.
access token not retrieved properly

access token was being retrieved as: "["845c5a698a551bbfdec12f000bcfaa09"]"
… instead of "845c5a698a551bbfdec12f000bcfaa09"
… fix was to grab "first" element of array.
variation of upload using string

- upload file using a string, instead of using a physical file. Good if you're on a hosting platform which doesn't support writes.
- #TODO: refactor the two variations of upload, instead of copy/paste
Revert "variation of upload using string": that changed is now being tracked as a feature enhancements on a branch

This reverts commit bfaf1fe64d410d1d108df66c4e8ba9150531cfc0.
Merge pull request #2 from sunekaae/master

fix readme example and accesstoken issue on init with "code"