Add a default version number.

We use the format recommended in the CFF spec.
Truly correct ordering of SFNT tables.

The tables are now in the recommended order. However, the table records
are sorted alphabetically.
Correct initial encoding of SIDs.

SID encoding was still incorrect, since the number used for re-using an existing SID was wrong.