BHV-11259/BHV-11469 Ternary operator fixes, EventEmitter Tests

Includes .jshintrc file for tests that includes mocha/sinon globals
Fixes an issue with EventEmitter deleting the wrong listener, needed to fix BucketFilter tests

Enyo-DCO-1.1-Signed-off-by: Roy Sutton (roy.sutton@lge.com)