Fix issue #4616

In version of PHP < 5.4 Kohana::$magic_quotes is always TRUE