check for null instead of instanceof UserInterface
update test
simplify condition
Try to fix aliases and deferred service providers.
Fix ignored docblocks
add methods
Set the session on the incoming request so it's available.
Added lines option to tail command.
Merge pull request #3256 from anlutro-pull-requests/belongsto-otherkey-methods

Add 'otherKey' methods to BelongsTo
Merge pull request #3255 from Youpie/4.1

Fix ignored docblocks
Merge pull request #3254 from franzliedke/patch-20

Try to fix aliases and deferred service providers.
Remove some unneeded session setting code in application.
Fix URL generation.
Merge pull request #3098 from anlutro-pull-requests/userinterface-check

Authentication improvements
Fix if check.
Fix cache minutes.
Work on URL generation.
More tests on URL generation.
Merge branch '4.1'