Support for kohana 3.3

Stable version with some fixes