Fix usage of setOrientedLattice. Refs #10014
Fix failing test. Refs #10014

In SampleTest, there was a check if the address of the OrientedLattice
object used to set the OrientedLattice on the sample is the same as the
one pointed by the sample. That is no longer the case.
setOrientedLattice now makes a copy (to reduce memory leaks)
Merge branch 'feature/10014_setOrientedLatticePointer' into develop