EventEmitter: Simplify #validateMethod and increase test coverage

* Add test to verify that validateMethod works properly for undefined
  or non-function values.
* Simplify implementation by removing the explicit undefined check
  (undefined properties yield the undefined value in javascript).

Change-Id: I6569f8a65d29a75bd451fa473ac8c95fa0af7eda