Logs

The first step is to separate implementation of the logging from the `system/`
Also I added some thing from Kohana 3.3/develop

**Please test this solution**