Mixed-use buildings offer a little of everything – and that’s a boon for both investors and the community. For developers