Add strict equalities in src/core/* (part 1)

This addresses files with names beginning with A through to E.

Apart from (obviously) running all the tests locally, I've also as far as it was feasible (i.e. I could find suitable test files) inserted print statements in the code to check that the changes didn't cause any adverse effects.

@timvandermeij Are you up for reviewing?