widget: Add setting to disable input

https://bugzilla.gnome.org/show_bug.cgi?id=687118
all: Remove crufty test programme
widget: Don't forward key release to input method when input is disabled
widget: More input-enabled fixes

Check in more places that input is enabled before trying to send
data to the child.
gitignore: Update git.mk from upstream
build: Distcheck with test application and bindings enabled
all: Remove unused function argument

The result isn't depending on the terminal anymore, so remove that arg.
widget: Remove unused struct
a11y: Remove unused include
a11y: Fix compiler warnings about unused variables
a11y: Remove unnecessary vfunc impl

atk has a default implementation that's identical.
a11y: Remove unnecessary vfunc impl

These are deprecated in atk.
a11y: Remove unnecessary vfunc impl

Layer is WIDGET by default, so there is no need to provide an overriding impl
returning the same.
a11y: Remove unnecessary vfunc impl

Z-order is MININT by default, so there is no need to provide an overriding impl
returning the same.
a11y: Remove bogus code

There is no weak pointer there, so just remove this code.
build: Use AC_USE_SYSTEM_EXTENSIONS

... instead of some grep magic.
build: Update warning flags check
build: Remove obsolete checks
build: Default to enable bindings
build: Remove unused flags

Fixes commit e5a83ebfc16bb6607bf946535ef55c50d416a8b6.