Separate main program from library calls
moved to python requests and collapsed POSTs
Added requests as a requirement
install_requires for git-based installs
Merge PR smbaker/pynest#9 by @rbpasker

Make pynest installable via pip, split pynest.py into an main program and a library, and move from urllibX to requests