I think it was also criminal slang in Dickensian London - I expect the Artful Dodger spoke of Bill Sykes's 'crib'; I don't think there was any implication about size though. The modern (current Br Eng slang) equivalent would be 'gaff; in the nature of things someone's 'gaff' is not going to be palatial, but that doesn't make it small.
b