fix add_check_digit to take zero-padded and non-zero-padded GTINs

also add tests for add_check_digit
PEP-8 fixes
Merge pull request #3 from goodscloud/master

fix add_check_digit to take zero-padded and non-zero-padded GTINs