MT#7233 Implement basic number block CRUD.

Initialise datatables_multifield value with empty array json string
for create form.
MT#5879 Add invoice email template to reseller contract form.
MT#5879 Revert "Add invoice email template to reseller contract form."

This reverts commit cf9d3ee42db51c926770894494f2beffd811e454.
MT#5879 Fix for invoice generation.

Invoice generation script uses mock catalyst context object, so no real
looging should be called. Or logge object shpould be mocked too. (TODO).
MT#5879 Separate invoice generation from sending and some fixes.

Commit:
Separate invoice generation and sending, although still can be
together id options tell.
Remove dev method call, which made invoice list broken.
Some little format changes.

Todo:
Add country_name into invoice generation script.
Care about email template correct process vars.
MT#5879 Add country to client contact info in invoice gen. script.
MT#5879 Merge with Andreas changes.
MT#5879 Error in not inflated date values.

But other seems as working.
MT#5879 Invoices generated and emails sent, work with option.

Date options for month period - contract balance select doesn't
work. TZ?
MT#5879 Fix rebase merge error.
MT#5879 Generate and/or send invoices script. Seems as working.

Testing is in progress.
MT#5879 Fix for invoices.serial unique index
MT#5879 Add date values for fix for invoice.serial unique index.
MT#5879 Fix invoices amount, related to cents.
MT#5879 Fixes for invoice data - format was for old template.

And also fix for customer contract id option.
MT#5879 Fix invoice date insertion in DB
MT#5879 Invoice generation fixes.

Use correct name for zone fees cost.
Fix condition for char column in script.
Add root element to xml before XPath parsing to avoid errors about
the same elements on root level.
Set timezone to local. Maybe it shouldn't be, but then should be changed
in both used methods.

Todo:
Country name for generation from web.
Clarify and implement if neccessary generation of existing invoice from web.
Now invoice for the same period created.
MT#5879 Us common invoice logic for invoice amouns. Add country name.
MT#5879 Implement countr name in controller.
MT#5879 Don't regenerate invoices. Just create new.