Added .gitattributes and .gitignore
Started to write unit tests fot the scanner
Using buf_t for internal buffers