fix bool test
Merge pull request #1722 from monarchdodra/cleanJSON

fix bool test
Correct docs & deprecation message in std.complex.

Reference to std.format.format [sic!] should be to std.string.format.

I've also taken the opportunity to slightly clean up the module's
import statements and some whitespace errors.
Merge pull request #1730 from WebDrake/complex-format

Correct docs & deprecation message in std.complex.