Compatibility fixes for Calibre 2.x

Thanks to davidfor for providing the code changes!
Disable metrics logging
add_collections.py: Calibre 2.x compatibility fix
appearance.py: Restructure customisation dialogue