Don't add duplicate shortcuts to the accelerator table.
Use memcmp suggested in review feedback.
Merge pull request #426 from adobe/rlim/handle-accel-table

Don't add duplicate shortcuts to the accelerator table.