Limit trade results

This will limit the number of raw shipments considered for any of the reports generated from the public trade website (comptab, net / gross). It will use a LIMIT on the inner query that is set to 1mln for csv outputs and 50k for web outputs. In the front-end, the user should not be allowed to proceed past the 1st page if csv limit in exceeded; if web limit is exceeded, they should get a warning on the 2nd page and should not be able to proceed with web output.