Adds recalculation of atom typing and aromaticy detection

This is done after the orders of the bonds in the molecule have been decided. It fixes bug 3538.

My only worry is that this will result in an overlap and make the calculation of long and/or complicated SMILES to take unmotivated long time.