Fix shape attribute for MultiIndex

Also added tests for other ndarray compat properties.
Merge pull request #8609 from shoyer/MultiIndex-shape

Fix shape attribute for MultiIndex