add tests for SharedClass

1. fix a doc typo in shared-method.js
2. fix tests to use isStatic instead of prototype
3. add tests for SharedClass.methods()
4. add tests for SharedClass.defineMethod()
5. add tests for SharedClass.find()

Signed-off-by: Clark Wang <clark.wangs@gmail.com>