Rename downcast_returned_value to DowncastReturnedValue ...

to be consistent coding/naming guidelines.
Refs #7607
Fix MatrixWorkspace::detectorTwoTheta methods

Refs #7607