foxkit client shared code

Align the parameters of a method call if they span more than one line.<br>Avoid using {...} for multi-line blocks.<br>Use the new Ruby 1.9 hash syntax.