(bug 45159) Enabling multiple snaks per reference

With this change set, it is possible to specify multiple snaks per reference with the
first snak being some kind of main snak. Removing it will remove the whole reference.

Change-Id: I488eb71028d209973b6397b1b20ad05eba83c80f
Merge "(bug 45159) Enabling multiple snaks per reference"