Making objects that live on internal sides work with stateful materials

refs #2972

More work is needed for boundary material objects.