Start of real and dummy API clients.
Fix jshint style errors.