Fix MAGN-3992

MaximumItem and MinimumItem don't handle mixed array of integer and
double values properly.
- Fixed by using DoubleConverter as item selector for Min() and Max
methods.
- Fixes http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-3992

MaximumItem, MinimumItem and Sort methods don't replicate.
- Updated the input argument type as IEnumerable<object> so that the argument is marshaled as 1D collection, and hence it will replicate on multi-dimension collection.
- On multi dimension collection these methods fail or behave wrong. It should replicate and return values from each collection.
- Fixed http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-3567