support negative bins

if start or stop is <0, bin is set to the largest possible
re-calculate bin when creating tuple for db insert
minor pep8
support gzipped input files
add FeatureDB.bed12 for flexible conversion to BED12 format