freedesktop (#1056): Make handler a method

This lets us use `self.config`. The previous version, which checked
`beets.config['auto']`, was looking in the wrong scope.
Changelog for #1056, fix #707