some fixes for slider
little refactor
Refactoring.
Fixed images selection
Merge branch 'ui' into slider-for-homepage

Conflicts:
	public/css/less/layout.less
	public/js/common.js
	views/contests/list.ect
	views/i18n/ru/messages.json
	views/root/index.ect