WIP/Hack: Disable customisation hooks for now

We don't use them in any of our installations; and they need adapting to
changes in CiviCRM 4.5. (Causing fatal errors right now.)
WIP/Fixup: Define default value for `sequence_number` field

When using the back-office form to enter new contributions, the value
provided for `sequence_number` in the input field will always overwrite
the default value we set in hook_post_contribution_create(), because the
custom value is stored only after the main entity is stored (and the
main entity's post hook invoked). If we don't have a value set in the
form, a NULL value will be saved.

Giving the `sequence_number` field a default value of '1' makes sure the
right value is stored (unless the user filling the form meddles with
it).

Note: the custom field definition change only takes effect during
installation. For existing deployments, the custom field needs to be
updated accordingly by hand.

- to be folded into commit introducing the `sequence_number` field
Normalise IBAN and BIC before storing in DB

This avoids generation of invalid SEPA XML files when certain types of
unnormalised values are entered, e.g. using lowercase letters. (There
was already some normalisation during the actual file generation -- but
it was incomplete; and this is really the wrong place for doing the
normalisation...) Also the values in the DB are less chaotic this way.

The normalisation is done in the BAO layer, so it will work no matter
how the data is entered. (frontend/backend/import)
Check IBAN and BIC validity at BAO level

In addition to checking the input in the form layer, also do validation
in the Mandate BAO add() method. This shouldn't affect input through the
web forms (both online Contribution Pages and back-office), as that
should already undergo the same checks before passing into the BAO. It
does however introduce account verification for other code paths, such
as the Import API.
Refactor: Move account (IBAN/BIC) cleanup and verify into central function

The Mandate BAO now exports a validate_account() method for cleaning up
and validating the account data -- both before storage in the DB (used
internally), and for input verification in the form layer.
Fixup: Restore SEPA conditional around account verification in forms
WIP: Work around different form processing in CiviCRM 4.5

CiviCRM 4.5 introduced the new "Chain Select" mechanism, which turns out
not to be robust against form fields being removed.

To get around this, when swapping out the CreditCard payment fields for
the SEPA DD ones during submit processing, instead of actually removing
the original fields, just make them non-mandatory. While this is
somewhat less elegant IMHO, the original fields are not really in the
way when not mandatory...
Merge branch '4.5-hotfix' into bos
Merge remote-tracking branch 'local/dico-wip' into bos
Local: New private version: bos-production-3