Refactoring about periods.

Fixes T91
Fixes T123
Merge branch 'devel-refactor-T122' of ssh://phabricator.adaedra.eu:2213/diffusion/CLOUDI/cloudiversity into devel-refactor-T122

Conflicts:
	app/controllers/admin/school_classes_controller.rb