Bug 709198 - Add regression test for contacts database migrations

The migration tests come with a few components:

  o tests/book-migration/vcards/*.vcf:
    The vcards which the test case expects to find in the migrated
    databases.

  o tests/book-migration/db/[various versions]/[File backend files]:
    Various sandboxes created from the vcards, each one created
    with a different stable version of EDS

  o tests/book-migration/test-migration.c:
    The actual test, this automatically loops over the available
    test directories and runs the migration suite for each version

  o tests/book-migration/setup-migration-test.c:
    A simple program used to inject the test contacts into EDS,
    this program can be used to generate the test sandbox from
    EDS version 3.0 onward.

  o The makefile also contains a 'setup-migration' target which
    can be used to generate a new repository automatically in
    the tests/book-migration/db/ directory with the current version,
    this can only be used to generate the sandbox from 3.10 and
    above.
EBookBackendSqliteDB: Fixed upgrade_contacts() for cases with missing vcards.

This patch avoids critical warnings to be fired when opening an old summary
mode SQLite whilst upgrading/migrating an addressbook from EDS <= 3.6.
Addressbook Migration test: Added EDS 3.10 test sandbox.