onError option

I added the onError option when creating a bot (see: https://github.com/macbre/nodemw/issues/5).

Currently it only handles API errors, but maybe it should handle all errors? In any case, I updated the docs to make it clear that it will only handle API errors.