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: 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
Enables the fetching and saving of start and end dates in supplier order lines.
Fix :: Sql problem for fresh install on resource table // Ok in migration script
Merge branch 'Upstream/3.6'
Fix: Pb with focus position with ckeditor
Fix: menu param is not inside allowed list
Merge branch '3.6' of git@github.com:Dolibarr/dolibarr.git into 3.6
Merge pull request #1839 from aspangaro/3.6

Fix :: Sql problem for fresh install on resource table
Merge branch 'fix_1544' of github.com:KreizIT/dolibarr into
KreizIT-fix_1544

Conflicts:
	ChangeLog
Merge branch 'KreizIT-fix_1544' into 3.5
Merge branch 'Upstream/3.6'