Strict comparison for strings where applicable

Make == to === and != to !== where applicable.
In light of the recent bugs and issues regarding too lose checks it would be wise to further improve the core where strict comparison can be used.
There are many flaws in using too lose comparison.

The rule should be: As strict as possible. Especially for strings.