Make canonical domain name lowercase instead of ucfirst

Also:
* Minor whitespace clean up
* Use null instead of 0 for some function parameters
test: Fix phpunit assertion arguments to be (expected, actual)

Had them the wrong way around (surfaced in an error message
when --- Expected and +++ Actual are flipped).
dashboard: Clean up Setup section of index.php
core: Add public method TsIntuition::rawMsg

Renamed the private rawMsg to accessBlob and added a public
method in its place that just handles lang fallback.

To be used by the API, which will need raw messages but with
fallback.