Merge pull request #77 from yojeek/refactor

online/ and admin/ refactoring
Merge pull request #78 from yojeek/refactor

refactor /customize, /pda, /lang
style validator: ignore jquery and some its plugins
refactor /offline/gallery EXCEPT method names renaming and third-parties
refactor offline/*.php and offline/*.js according to PSR-2
refactor PHP classes in /offline for PSR-2 and cron.php
- rename methods to camelCase
- add namespace Avreg
- change PDA namespace to Avreg namespace for consistency
- refactor cron.php
move gallery third-parties to own folder
fix Memcache error
simple refactoring based on PhpStorm inspections