Swap argument order to match convention.

Fixes #1595.
Merge pull request #1601 from braddunbar/argument-order

Swap argument order to match convention.
Correct style issues.

* Use space in array/object literals.
* Convert a forgotten deepEqual candidate.
Merge pull request #1602 from braddunbar/style

Correct style issues.