Improvements

@lovenunu @roadster31 could you please check this PR ?

Sorry it's a big PR and I should have split it in multiple. 

It's mainly an improvement of the default frontoffice and pdf template : UI and performance.
It also contains fixes for small bugs and typos.

Thanks.
why don't you use the $con object to apply the translation on your queries ? ( find() and delete() )