Refactored Client code - supports lists in properties/traits

I PEP 8'd the client code, and also pointed out where future improvements ought to be made.

Also, Client now supports lists. This is important if you're trying to upload something like a shopping cart.