Some cleanup in tiledquickplugin and link it against libtiled