Support API key and secret

These changes are incompatible with the previous username/password
authentication implementation
Use hash of options to initialize the client
Merge pull request #4 from isotope11/use_api_keys

Support API key and secret