Reformat code to be PEP8 compliant.
Remove unused imports and variables [pyflakes]
Rename variables to prevent redifinition of built-ins.

file -> sourcefile
dir -> directory

source_file in load() made more sense to rename to source_code
try and handle heredoc
Add BASH specific alternative collector of coverage data

Use BASH_ENV=/usr/share/shcov/bash_coverage shellscript to generate
coverage data (default in /tmp/sh.coverage.bash).

Then to generate a report:
shenvcov --data=/tmp/sh.coverage.bash --output=/tmp/foobar
shlcov /tmp/foobar /tmp/coverage.report

shenvcov will append to any existing data in /tmp/foobar.

This was designed to be running continously on a complete system by
exporting BASH_ENV in init and collecting statistics throughout the boot
process and continued use of the system.
Add README.md to explain the reasoning behind this fork