Fix compatability with standart logger. warning() method is added to our logger.

warn() is saved temporarily. It will be removed in future. Fix #34.