Encode UI error message to eliminate XSS
Have taxable_amount() check for item-level discounts too
Use Digest::SHA instead of deprecated module Digest::SHA1 (#625904).
Adjust Debian dependencies to Digest::SHA module.
Update Debian changelog for 5.7.7-1 packages.
enforce integer weights when writing to ups_cache database

Signed-off-by: Peter Ajamian <peter@pajamian.dhs.org>

Author:    Steve Graham <icdev@mrlock.com>
Add optional cache exprire variable as pointed out here: http://www.icdevgroup.org/pipermail/interchange-users/2003-June/033985.html

Signed-off-by: Peter Ajamian <peter@pajamian.dhs.org>

Author:    Steve Graham <icdev@mrlock.com>
Add new database configuration attribute PREQUERY.

This allows an arbitrary query to be defined, which is run every time
the database connection is opened. Useful for setting database timezone,
statement timeout, query optimizer hints, etc.

This commit took its current form on 2007-07-23, but never got committed
upstream till now.
Resolved ticket #328: MV_SESSION_ID broken with IPv6

Resolved ticket #328 by adding is_ipv4 and is_ipv6 functions to Util.pm and
modifying Dispatch.pm to use them.
Fix regexp from recent commit.
Added ID attribute to "pseudo" state dropdown so both actual state value and display can be updated via jquery
Update credit card type detection

Most important are the changes to Discover and Diners Club updates, but
some other minor ones matter too.

Discover's changes are documented here:

https://www.discovernetworkvar.com/common/pdf/var/10-1_VAR_ALERT_April_2010.pdf

Some code borrowed from Business::CreditCard again.
Fix rare error with DowncaseVarname handling of GET/POST parameter names

Fixed by Josh Braegger at Backcountry.com. Thanks!
BUGFIX: Setting LOG_ERROR_CATALOG to 1 actually prevents logging to catalog

There is a bug where if you set something like this in your catalog.cfg:

      DatabaseDefault  LOG_ERROR_CATALOG  1

...Interchange actually won't log db errors to the catalog's error.log file.
This commit fixes that.
Removed unused code from Menu.pm

The %transform hash in lib/Vend/Menu.pm contains two entries for the
"first_line" key.  This removes the first one which has always been overriden by
the second and therefore never used anyways.
New "rawsort" attribute, fixed sort attribute whitespace problem.

New "rawsort" attribute allows you to pass a verbatim sort to the SQL database
without any parsing by Interchange.  This allows you to do things like this:

Options Simple sort CAST(o_sort AS int)
Options Simple rawsort 1

...the above would sort option widgets based on teh o_sort attribute and force
a numeric sort.  There are numerous other possibilities of how you might want
to use this as well.

The existing find_sort routine returned the "ORDER BY ..." without any leading
whitespace, and was tacked onto the end of the sql query in Simple.pm without
any trailing whitespace thus causing a syntax error in the generated SQL.  This
is now fixed by adding a leading space onto the returned value of find_sort().
Ignore build files from newer Perl versions
Remove superflous space before question mark from Debconf template (#584513).
Remove empty crontab manual page after the build.
Update Debian changelog for 5.7.7-2 packages.