The days of sky-high flipping margins are tapering off as home prices rise-but some investors are still turning a healthy profit.