issue369: make it simpler to enter filenames.

Add .sfd to files without an extension of either sfd or sfdir
if that happens then place a warning in the log to that effect.
issue1344: work on source tree clones from bootstrap.

Some build environments clone the source tree before starting the
bootstrap/configure process. For example, homebrew on osx. That being
the case, some of these do not copy the .git tree in the clone
probably because it is not intended to be long lived. BUT if there is
no .git subdirectory then the old bootstrap would subtly fail by
forcing the GIT command to be out of bounds.

This update allows bootstrap to run in such .git'less clones and thus
removes one hurdle to FontForge building from homebrew.
Merge pull request #1590 from monkeyiq/2014/aug/osx-bootstrap-git-check-tree-copy-workaround

issue1344: work on source tree clones from bootstrap.
moved to the GFileNameTail() function, added the docs to that function
and included a you might have been looking for basename note to help
future users.
Merge pull request #1572 from monkeyiq/2014/aug/369

issue369: make it simpler to enter filenames.
Fix small one-time leaks in start.c initlibltdl()

Library routine lt_dladdsearchdir() takes a string argument, but always
copies it before use.  It did not need to be strdup()ed.  This was *very*
defensive coding... ;)

gutils/fsys.c :: getFontForgeUserDir() always newly allocates the returned
string value.  This must be freed when no longer needed.  Adrien has fixed a
couple of the several uses of this routine.  All the rest need to be fixed.

The former routine getPfaEditDir() would generate the requested string once,
the first time, and retain that for further usages.  E.g.
      char *getPfaEditDir(char *buffer) {
          static char *editdir = NULL;
          :   :    :   :    :   :    :   :    :   :
          editdir = copy(buffer);
          return( editdir );
Thus strings would leak at most once, and even code like the two consecutive
calls below would still only leak once.  Now that we allocate new strings
each time, we need to free() after each use.
travis-ci: breaking out the commands so that OSX can do its thing too.
grr.
Fix small leaks in groups.c getPfaEditGroups()

Another use of the recent routine gutils/fsys.c :: getFontForgeUserDir()
that requires a free() of the newly allocated string after use.
get my PR change in while it is still not merged mainline.
use the force luke
...
helps if I add this too
py
Fix small leak in namelist.c LoadNamelistDir()

Another use of the recent routine gutils/fsys.c :: getFontForgeUserDir()
that requires a free() of the newly allocated string after use.
try for X in the mix too
Fix small leak in startui.c ensureDotFontForgeIsSetup()

Another use of the recent routine gutils/fsys.c :: getFontForgeUserDir()
that requires a free() of the newly allocated string after use.

Tested and leak now gone from valgrind reports.
this breaks the build temporarily to see what travis makes of it on osx.
Fix small leak in autosave.c getAutoDirName()

Another use of the recent routine gutils/fsys.c :: getFontForgeUserDir()
that requires a free() of the newly allocated string after use.

Tested and leak has disappeared from valgrind reports.
break the build again