Fix categories bug

When using the string type,
$typeid == 1 matched all strings making other conditions ineffective.
Fix #1544: Can remove date from invoice
Updated category fix

Categories ID can be passed as strings
PSR code formatting
Fix : VAT and NPR rates where coming from multiprice...
Merge branch '3.5' of github.com:Dolibarr/dolibarr into 3.5
Fix: [ bug #1558 ] Product/service edit page title shows new Ref instead
of old ref
Fix: [ bug #1553 ] Saving User displays setup removes menu
Fix: Minimum size for captcha
Fix: broken feature: add param for use only "disabled" with delConstant
and "enabled" with setConstant
Merge pull request #1828 from atm-maxime/3.5

Fix : VAT and NPR rates where coming from multiprice...
Fix: backlink was wrong after deleting product or service.
Fix: define new ref before trigger
Merge branch 'fix_1544' of github.com:KreizIT/dolibarr into
KreizIT-fix_1544

Conflicts:
	ChangeLog
Merge branch 'KreizIT-fix_1544' into 3.5
FIX error sql on update ficheinter
Merge pull request #1844 from atm-alexis/3.5

FIX error sql on update ficheinter
Fix: error in strict mode
Fix: error with php strict mode
Fix: strict mode anarchy ;-)
check your variable please
Fix: another strict mode alert