(bug 43291) introduction of wb.SnakList, a list containing a set of Snaks

Includes tests and minor changes to the wb.References constructor which is using the list now.

Change-Id: I493d107c9f2d2b297aca36358dcd56b102146a98