Online section refactoring
- apply PSR-2 code style and formal refactorings
- some extra simple javascript refactoring based on PhpStorm inspections
Refactor /admin according to PSR-2
Fix callable syntax (for validator)
Merge pull request #77 from yojeek/refactor

online/ and admin/ refactoring