LPS-41378 Rearrange code (no logic changes)
LPS-41378 Move date range logic to the views
LPS-41378 Set from last publish date as default range for publishing
LPS-41378 Fix error in portlet publish validation
LPS-41378 Store last publish date in staging site when enabling local live.

Last publish date is stored and checked in staging group. The first time local live is enabled, it was stored in the live group. This does not affect to remote live.

merge update dates
LPS-41378 Verify selector dates only if the date range is enabled