Quantum signatures of the self-trapping transition in attractive lattice bosons