Enable hacking checks H305 and H307 in tox.ini template

With the change If1dd9c89f65ede6959865a885777cb08c263eca0 we
enabled the hacking checks H305 and H307. But we forgot to enable
them in the tox.ini template as well.

Change-Id: I67482951aa09ee73546715181701066b1d26343a
Merge "Enable hacking checks H305 and H307 in tox.ini template"