Always use the price we display to calculate the current value of an account.
Bug 728717 - Ubuntu 14.04 - GNUcash crashes on close

Root cause is initializing twice with a static dbi_instance. Prevent
that.
Bug 725054 - Re-numbering sub accounts crashes the program

g_strdup_printf ("%s-%0*d", prefix, num_digits, interval) calls malloc()
with the number of required characters, which includes num_digits characters
for the numeric. If the interval is 0, log10(num_children * interval) is
log10(0), which returns NAN (not a number), which when cast to size_t is
MAXINT. That generates a malloc error, which crashes GnuCash.

So don't let the interval be 0.
More fix-ups for the renumber subaccounts dialog.

Add more invariant checks for safety.
Suppress the '-' in the account-number format if the prefix is empty.
Set the value for the interval GtkSpinButton so that it won't be 0 on startup.
Fix the step-increment and page-increment property names in the builder file
so that they have an effect.
722200 - configure script does not pick the correct am_cv_scanf version

On 64-bit Windows system.

Test for need of and if needed define __USE_MINGW_ANSI_STDIO
Python bindings.  Add function gncVendorNextID, complementary to
gncCustomerNextID.
Bug 730255 - Python bindings: Assigns bill entries to non-existant invoice.

Add type checking to ensure entry type matches invoice (or bill) type.
722200 - configure script does not pick the correct am_cv_scanf version

Add -Wall -Werror to CFLAGS to try to force failure.
Relax requirements for booleans in invoice line.

Accept 'y' as well as 'yes', 't' as well as true.
Add some date format checking and make sure generated dates are the
correct user selected format, not always locale format.
722200 - configure script does not pick the correct am_cv_scanf version

Add -Wall -Werror to CFLAGS to try to force failure.
Merge branch 'maint' of https://github.com/Gnucash/gnucash into maint
Revert "722200 - configure script does not pick the correct am_cv_scanf version"

This reverts commit f3e76fb9df0c4b1276909a8f33421ee6c79f5455.
Revert "722200 - configure script does not pick the correct am_cv_scanf version"

This reverts commit f9548652de6b0684d818bc5bd147942453dd8886.
722200 - configure script does not pick the correct am_cv_scanf version

Different tack: Use G_GUINT64_FORMAT in guid.c instead of messing with
defining __USE_MINGW_ANSI_STDIO
Fix broken win32 build; MinGW needs our strptime.
722200 - configure script does not pick the correct am_cv_scanf version

Wrap SCANF_FOO_CHECK calls with CFLAGs including -Wall -Werror so
that the tests fail to compile and %lld fails as it does during the
build.
Merge branch 'maint' of https://github.com/Gnucash/gnucash into maint