Fix shape attribute for MultiIndex

Also added tests for other ndarray compat properties.