Create tesseract.attrs namespace

Move the attr diff methods into separate namespace.