libmtp_functions.c: libmtp functions.

This file has cover functions to the mtp library (libmtp). The
first function is that of detecting connected mtp devices.