Kohana 3.3 compatibility

Kohana::$is_cli replaced by the similar PHP_SAPI check for the compatibility sake