Fix the check for flood of arp. Add UT for same.

Change-Id: Id2a003c815436cdb7df80820f0a6c8ad6ac6eeba
Closes-bug: 1402627
Merge "Fix the check for flood of arp. Add UT for same." into R2.0