Change double quotes to single quotes.

Summary: Ran `arc lint --apply-patches --everything` over rPHU, mainly to change double quotes to single quotes where appropriate. These changes also validate that the `ArcanistXHPASTLinter::LINT_DOUBLE_QUOTE` rule is working as expected.

Test Plan: `arc unit --everything` and eyeballed the diff.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9184
Use the `ArcanistChmodLinter`.

Summary: Apply the `ArcanistChmodLinter` from D9187.

Test Plan: Removed all other linters from the `.arclint` file and executed `arc lint --everything`. Confirmed that there were no issues raised.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9189
Rebuild map

Summary: arc liberate src

Test Plan: n/a

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9218
Throw when passing array_mergev() non-array items

Summary: See rP481a2954545e for an example of the kind of error this can catch.

Test Plan: Ran unit tests.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D9213
Store daemon arguments in reference file.

Summary: Ref T4735. Store the arguments that were used to launch a daemon in the reference file. This will allow the daemon arguments to be echoed to the console for `./bin/phd status`.

Test Plan: See D9208.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T4735

Differential Revision: https://secure.phabricator.com/D9207
Add `%LR` support to `csprintf`.

Summary: Allow `csprintf` to format an array of readable strings.

Test Plan:
I didn't create any test cases because there aren't any existing test cases for `csprintf`. Instead, I used the following script:

```lang=php
<?php

require_once __DIR__.'/scripts/__init_script__.php';

echo csprintf('%LR', array('foo', '--not', 'bar'))."\n";
echo csprintf('%LR', array('foo', '--not bar'))."\n";
```

The output was as follows:

```
foo --not bar
foo '--not bar'
```

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9229