If you’re planning to be roommates, you’ll want to make sure you’re a good match ahead of time. Here’s what we mean.