move mutex calls to private section of MTPDevice
drop debug messages from LIBMTP_Init()
introduce device capabilities in --list-devices

This is preparation for direct object modification.