Fixed sendfile tests.
Merge branch 'master' of git://github.com/ecdavis/pants
- Cookie module is now http.cookies in python 3
- print is a function, not a keyword in python 3
dict's iteritems has been replaced by items in python 3
- urlparse was renamed to urllib.parse in python 3
- added a python 3 compatability section to __init__, which currently adds 'bsestring' to builtins
- iter* methods do not exist in python 3
- imap is simply map in python 3, but simply delegated to the object's own keys() method for consistency
- reverted monkey-patching implementation and replaced with try/except blocks to account
  for python 3 not having basestring
- Cookie was renamed to http.cookies in python 3
- python 3 doesn't have long, so I used Number abc instead
- urlparse has been renamed urllib.parse in python 3
- forgot to remove unguarded import
- decoded bytes to utf-8 strings where necessary for python 3
- removed long literals (L) since int and long are unified in python 3
  (see pep 237)
changed remaining print statements to functions for python 3
- updated to comply with python 3's raise syntax
- StrinIO has been renamed io.StringIO in python 3
- correction, StringIO has been relocated to the io module
- correctly decoded strings to bytes