Complete quote functional test

I complete implementing the functional test for quotes.  Beside this, I
fix some bugs and rework the invoicing-items.js script in CoffeeScript.

I disable the referencial integrity check in the data source of the test
because it prevents from deleting the test fixtures.