Initial support for file uploads (WIP)
Use Requests library instead of urllib2
Exception handling and incorrect attribute access fixed.
Merge branch 'upload-requests'
Clean up