Exposed a bind function to qml

I was forced to use repeat macros since Qt's js engine does not support
variadics
Refactoring of Imgur and Dropbox plugin