Change log('warn',...) to 'warning'

alleviate deprecation warning in 3.4.
```
./home/travis/build/duly/analytics-python/analytics/client.py:27: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
  method(*args, **kwargs)
```