Kohana 3.3 port

looks like it works!:)