modify _.max function, _.max function now return the first max element of the list instead of the last one if more than one max element exists.
Merge pull request #1124 from liuyl/master

trivial modification on _.max function