Change the endpoints to be a hash

The different endpoints can be referred top easily using a key this way.
This comes in useful when writing tests, e.g.

``` ruby
my_event_logger.endpoints[:json].stub(:io).returns(@json_io = StringIO.new)
```

@fw42 for review.