Merge pull request #3 from euanh/djs-fusion

sr-scan: If a disk image's filename is a valid UUID, use that value as t...
Examine the vdi's primary key (typically the filename) and use it as a uuid, if it's already a uuid.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
SR: Only consider a filename to be a UUID if it is the correct length

Uuid.is_uuid only checks that the string passed to it _starts_ with a
valid UUID, so Uuid.is_uuid "82cf569a-344d-9c62-95bc-ac693202e25a_foo_bar"
returns True.   Uuidm's behaviour is the same...

Check that the file's base name is the right length, in addition to parsing
correctly.

Signed-off-by: Euan Harris <euan.harris@citrix.com>