Fix PEP 8 issues in gpickle.py
Allow selection of pickling protocol to use in write_gpickle
Merge pull request #1284 from ysitu/gpickle

Allow selection of pickling protocol in write_gpickle