Moved PrimitiveType from Mesh into *Slice

Fixes #269, supposedly ;)