Implements the "with" syntax to open files
external.py: Adds py3 compatibility to tests

Adds py3 urllib imports, print function updates, and implicit
utf-8 decoding of test strings.
tar.py: Adds file:// support for tar overlays
Adds clean_tar configuration option
Merge pull request #11 from twitch153/gsoc2014

Tar test suite features