The galaxy-halo connection from a joint lensing, clustering and abundance analysis in the CFHTLenS/VIPERS field