Fix undefined $repository

Auditors: btrahan
Minor, fix two documentation JSON issues

Summary: See <http://stackoverflow.com/questions/25417434/phabricator-maniphest-custom-field-issue>

Auditors: btrahan
Merge remote-tracking branch 'upstream/master'