Update to latest Bottle version

Update plugin to api 2
Fix deprecation warnings