fixed a bug for the catch-all part of the API.

The regular expression was invalid. The logic now adds hooks for all of our API methods and skips ANYTHING else.
Merge pull request #5 from carldanley/fix-api-catch-all

fixed a bug for the catch-all part of the API.