UP-3685 Fix potential infinate loop in dlm

Add duplicate node check when handling dlm positionSet data, if a
duplicate node is found an exception will be thrown describing the
infinite loop state.
UP-3671: Add a portlet preference to define whether to display a count of all logins or just unique logins for the "TODAY" and "YESTERDAY" sections.