Sets the readonly flag according to Google Drive file metadata

Reads the 'editable' property from the file metadata, and uses this to set the readonly flag in the notebook model.
Remove delete_notebook method from Contents

This method is no longer part of the API.
Adds gapi_utils.gapi_ready guard to Contents.delete

gapi_utils.gapi_ready is a promise that is fullfilled when the Google API has loaded.  This promise should be used to guard any calls to gapi_util or drive_util functions, to prevent calls to the Google API before the API has loaded.
Merge pull request #12 from KesterTong/readonly

Sets the readonly flag according to Google Drive file metadata
Merge pull request #13 from KesterTong/fixes

Fixes
ship clientside notebook manager with jupyterdrive

Closes #15
Merge pull request #22 from Carreau/ship-client-side-manager

ship clientside notebook manager with jupyterdrive
Sorts items in Contents.list_contents

Sorts items so directories appear before files, and items are sorted alphabetically within each category.
Use pagination of results from Google API

The Google API sometimes returns results in paginated form, i.e. it returns results N at a time, where there is some upper limit to the N that users can specify.  This commit uses this mechanism properly, so that directories containing more than 1000 items can still be displayed.
Move functions relating to notebook JSON representation, to a new file

This file handles conversion to/from on-disk format (which requires splitting/joining mulitline strings, see IPEP 17).  It also handles creating a new notebook.  The new notebook creation is updated to the v4 format described in IPEP 17.
Fix writing JSON file on Python 3

Addresses gh-27

This is admittedly inelegant, but since the json module on Python 2 can
serialise to either bytes or unicode depending on the input, it seems
like the most robust way to write json to a file.
Merge pull request #28 from takluyver/json-unicode

Fix writing JSON file on Python 3
Parse arguments, allow installing to non-default profiles
Merge pull request #29 from takluyver/argparse

Parse arguments, allow installing to non-default profiles
Adds rename method to Contents class
Merge pull request #24 from KesterTong/filesorder

Orders files, and deals with directories with more than 1000 items correctly
Merge pull request #30 from KesterTong/rename

Adds rename method to Contents class
Merge pull request #25 from KesterTong/notebookmodel

Move functions relating to notebook JSON representation, to a new file