Cores and mechanisms in restricted housing markets