Remove obsolete code

Some parts were never used, some have been moved.
Add type() method to YaspGrid entity

Its part of the Entity interface, so the method should be there.
YGrid should have an inside() method.

the implementation is a stub until now.