Cats first finagled their way into human hearts and homes thousands of years ago – here’s how