ENH: Implement sys.getsizeof(x) for arrays and scalars.

Fixes #2279. Stubs/declares __sizeof__ method to use nbytes attribute.
ENH: add dimensions and strides to _sizeof__ and handle not owning data
Merge pull request #5001 from juliantaylor/sizeof

support __sizeof__()