SVG font input empty chars not output to SFD or fonts

Magic flag widthset was not being set for input glyphs upon parsing
from SVG font files.  This flag is used by sfd.c routine SFDOmit()
to judge whether a character was significant enough to be output.

Upon first input from SVG font file, empty glyphs (not containing any
drawing instructions / spline info) would appear in character view
(as X'd boxes).  But these would not be output to a new SFD file or
any generated fonts.  Restarting FF using the previous SFD file as
input would find none of the empty characters - they'd disappeared.

This would affect such glyphs as '.null', 'space', and maybe
'nomarkingreturn'.

Fix adds one line to set flag into svg.c routine SVGParseGlyphArgs().
Make u_GFileIsDir work
Fix file chooser if given a folder path with no trailing backslash
Fix 'Open' command from the menus on Windows. Fixes #1466

The current font is required to determine the last used directory to be shown.
The method used is the only reliable way of getting hold of that last used font.
Free the return value of GFileDirname
In GIOGetMimeType(), removed sniff_data, add comments (improvements).

Always sniff file data for mime type
Makes no much sense otherwise.
Credit = 2012-10-24 18:05:13 - Khaled Hosny

Add GIOGetMimeType() comment.
Credit = 2012-10-29 21:10:00 - Khaled Hosny
Fix bugs in GIOGetMimeType()

Converted sniff_length into a define because this is a compiled binary.
g_content_type_guess() was wasted compute time at the front, and the
result was thrown away, so moved it to the back as a last resort if
sniffing data for mime type failed.
Accept the possibility of "content_type==NULL" after all these check.
Merge pull request #1480 from tshinnic/sfd_empty_char

SVG font input empty chars not output to SFD or fonts
Merge pull request #1484 from JoesCat/master

More GIOGetMimeType() fixes
Merge pull request #1482 from jtanx/menuopen

Menuopen
Attempt a fix for the overlap removal problems by adding functionality for consolidating duplicate and near-duplicate intersections.
Fix a few bad accesses in the new spline overlap code.
Fix mlist t-value mismatch for adjacent segments.
Allow for an easy reduction in verbosity.
Fix parsing of CFF format 1 encoding
Parsing of CFF files would shift the encoding by one when the CFF file used
encoding format 1. The first code point would incorrectly point to .notdef, then
subsequent encodings would be shifted by 1.

Fix is to correctly skip the .notdef glyph when parsing encoding. CFF format
implies that glyph_id 0 is .notdef, so all encodings start with glyph_id 1.
Format 0 handled this correctly, but format 1 was starting with 0 instead of 1.
Merge pull request #1486 from timheilig/bug_cff_enc_format_1

Fix parsing of CFF format 1 encoding
Fix range boundary when parsing encoding for CFF font with custom encoding 1

from CFF format specification, format 1 has the following makeup:
card8: first character in range
card8: number of additional characters (excluding the first)

This change corrects the calculation of the code of the last character in range
to respect the fact that the additional character specification excludes the
first character in the range.
Try returning 0 to the default event handler in order to get tabbing working in the metrics view.
Disable verbose spline overlap output in preparation for merging.
Add key-up support for tabbing in the metrics view.