csclient: new package

This is the start of the client-side charm store code.

We also factor out the JSON equality checking so that the csclient tests
can use it.

Isn't the rule if you use a value more than twice you need to define a constant?