added method format, to format bytes
added c style formating for  bytes objects
fixed sql<->python type convertions
tests

fixed tests
Revert "tests"

This reverts commit bea623fab8e9024d5f0e0c62868d78278f2beb62.
fixed tests
fixed setup scripts