Full URL support

Made the script also accept a full Google Docs/Drive item URL as a parameter instead of only the key. The key is automatically extracted from the full URL. The older method of only giving the key as a parameter also works.
Merge pull request #1 from aalaap/master

Full URL support