CHANGE: ENtity.getPiece returns another entity instead of a SceneNode
Now it's possible to set material properties on entity pieces.
OSG graph hierarchy is preserved (but an effect node is inserted between the
original piece and its parent)
Material StateSet processing modified to make sure material overrides work
correctly.