add initial implementation of the ruby client

This is heavily influenced by GitHub's haystack client. <3