Modal::clientOptions disable support.
debug panel : change json_encode/decode to serialise/unserialise to prevent non-UTF characters error
debug panel : changed .json to .php
Merge pull request #808 from callmez/master

Modal::clientOptions disable support.
Merge pull request #999 from iJackUA/debug-panel-serialisation-fix

Debug panel : change json_encode/decode to serialise/unserialise