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

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