extract crc8 implementation to type namespace, add test vectors, add licence to README

test vectors are extracted from http://blog.xivo.io/public/smbus_pec_crc8_test_vectors.txt