flags is an event emitter
conversion of flags object to json
documentation and configurable interval
Merge pull request #10 from Financial-Times/client

Client