Rename Grid base class.

Reason: There are too many things named 'Grid' and this should
reduce namespace collsisions. The isinstance bug is still not
resolved.