Fix a bug in indexOf(). Add indexOfElement() and request().
Merge pull request #72 from square/jwilson_0809_request_require

Fix a bug in indexOf(). Add indexOfElement() and request().