Implemented semaphore.
Units inherit from threads.
Fixed callback in Thread and Unit.
Callback is set in the constructor by default.
Other fixes around.
Merge branch 'develop' of https://github.com/Hete/kohana-backend into develop
Semaphore implementation for files, orm and sysv.
Few fixes around.
Finished Semaphore_ORM implementation.
Documentation and rules for semaphore and acquirement models.
Ajoute un argument a la methode get de la classe Kohana_Semaphore_file
Logging system

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>
Auto release for semaphore.
Better logging system.
Logging system for backend.
Fix in semaphore orm.
Update db file.
Added more logs and remove to flush all seems.

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>
Static logging system
Using range validation instead of custom validation.