Use my settings for AC_INIT
copyn → g_strndup
gnulib strndup is not used now, can drop
Remove remaining references to dynamic.h.

The existance of dynamic.h doesn't seem to be relevant to any
recent version of OSX.

Cherry-pick from sortsmill 2012-09-23
Original Commit: 637ab0977277b80b00c87b666d4a054362cfeaf8
Conflicts:
	fontforge/start.c
	fontforge/startnoui.c
	fontforge/startui.c
	inc/Makefile.am
	inc/dynamic.h
Revert "The names 'alefmaksurainitialarabic' and 'alefmaksuramedialarabic' in the Adobe Glyph"

This reverts commit fec0ef971cab64d1b2f1947833acf300ba373dd3.

The names follow AGL and that all matters, even if they are wrong.
People should be using AGLNF anyway, which do not have those entries.

Cherry-pick from sortsmill 2012-09-23
Original Commit: 474b67ecdc287e12ef96590ad8136301d9519acb
Conflicts:
	fontforge/parsettf.c
	fontforge/problems.c
Revert "Encoding ID should be set to 10 for fonts containing unicode characters outside of BMP."

This reverts commit ff83bce976d0a561d3c66970d460c19ef8936510.

This was wrong, it encoding id 10 is for platform id 3 (MS) not platform
id 0 (Mac).
Revert "Patches by Felipe Sanches to add an option in Generate Font dialog to prepend"

This reverts commit 44157f0c53788cf2e50e1dd0f92b92dd5ab96320.

It does not work, and one is better writing a script for such
functionality.

Cherry-pick from sortsmill 2012-09-23
Original Commit: 81bf2d438b478bd9d1053d58e5ad3b9dc91fd6d1
Conflicts:
	fontforge/savefontdlg.c
	fontforge/ufo.c
Move gioftp library into the gutils library
Improve min scrollbar thumb size when border is 0
Set GResourceProgramName alway to fontforge

Instead of setting it to the name of the binary which breaks when using
a different binary prefix or when running from build directory, and
clean things a bit while at it.

Cherry-pick from sortsmill 2012-09-27
Original Commit: 9abf18d180d982bfbec0a23ff7d6d0eaf1ba3c0e
Conflicts:
	fontforge/prefs.c
	fontforge/startnoui.c
	fontforge/startui.c
	gdraw/gresource.c
	gutils/fsys.c
	inc/gresource.h
Fix compile and segfault

Segfault and compile failures due to GResourceProrgram* move
in commit 18d5b8bb895ebfdc7063087458e1646d5612db7d. Maybe my tree
and sortsmill tree start diverging more and more.
Final bit of VMS stuff gone
Remove GB12345 plugin entirely

GB12345 is a rarely used standard. For those who care about Chinese
processing, GB13000(GBK), or more importantly GB18030, is the way to go.
Remove plugin support; drop ltdl usage; etc

Also:
- Move several UI related headers to fontforgeexe/
- All plugin related sources removed
- Reduce compile include path to inc/ , lib/ and $top_srcdir,
  maintenance will be more troublesome but the effect of file moving and
  refactoring will be much more apparent as a reminder
- As a result, some headers need to have folder location prepended
- Guard several headers with #ifndef / #define
- Reorder header inclusion for quite some sources

Conflicts:
	Makefile.am
	configure.ac
	fontforge/Makefile.am
	fontforge/encodingui.c
	fontforge/pluginloading.c
	fontforge/plugins.c
	fontforge/plugins.h
	fontforge/prefs.c
	fontforge/pythonui.c
	fontforge/start.c
	gdraw/gresource.c
	inc/Makefile.am
	inc/pluginloading.h
	m4_ff/fontforge_create_makefiles.m4
	m4_ff/fontforge_my_flags_and_libs.m4
	plugins/Makefile.am
Use gnulib tzset()
Reduce some redundant header inclusion
Stop inventing names on integer types unless there is semantic difference
No more plugin stuff in makefiles
Revamp makefiles

Move AM_CPPFLAGS to mk/flags.am like Sortsmill does. Also drop useless
dependencies in the CFLAGS/LDFLAGS/CPPFLAGS/LIBADD etc.
Pass make distcheck