logd: throttle SELinux denials to 20/sec

Impose a limit of 20 selinux denials per second. Denials beyond
that point don't add any value, and have the potential to cause
crashes or denial of service attacks.

Do some other misc cleanup while I'm here.

Bug: 18341932
Change-Id: I6125d629ae4d6ae131d2e53bfa41e1f50277d402
Merge "logd: throttle SELinux denials to 20/sec"
Merge pull request #2 from AOSParadox/LA.BF.1.1.2_rb1.7

CAF UPDATE : LA.BF.1.1.2_rb1.7