clean up tryRememberLogin and save the timestamp of users last login
unit  tests for loginWithCookie()
also test whether hooks work
test hooks also on login
clean up here is superflous, will already be removed by user session
add cli command to check a users last login
save a whitespace
increase scrutinizer happyiness by removing minor/informational issues
print time in 24h format
Clarify comment
add preRememberedLogin hook and document this and postRememberedLogin in class descripttion. Also fixes documentation of postLogin hook
drop superflous statement in phpdoc
Merge branch 'logintimestamp' of git://github.com/owncloud/core into logintimestamp
Merge pull request #8681 from owncloud/logintimestamp

Record login timestamp per user. Required for new user managament.