Add simple table Remarkup rule

Summary:
Remarkup rules should have these features:

- Easy to write by hand.
- Easy to read in plain text.
- Spellchecker friendly.

Current table rule has none of it.

Test Plan: New test, looked at rendered output in Phabricator.

Reviewers: epriestley

Reviewed By: epriestley

CC: btrahan, aran, Korvin

Differential Revision: https://secure.phabricator.com/D3725
Support multiline commands in console syntax highlighter

Summary: @edward uses this in doc comments.

Test Plan:
  a/ $ b \
  c/ $ d # e
  f

Reviewers: epriestley, edward

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3747
Use class name and code in aggregate exception

Summary: I plan to use it.

Test Plan:
  throw new PhutilAggregateException('', array(new Exception('a'), new Exception('b')));

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3755
Stop treating "\r" as a newline

Summary:
None of Git, Mercurial or SVN treat "\r" on its own as a newline under Unix/OS X or Windows. If you diff a file with \r newlines, you get a 1-line change. Do the same thing they do.

(Arguably we could split this into two functions like `phutil_split_lines()` and `phutil_split_vcs_lines()` or something, but I'm happy to call "\r" on its own a non-newline.)

Test Plan: Unit tests.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran

Maniphest Tasks: T1857

Differential Revision: https://secure.phabricator.com/D3757
Allow getting exceptions from PhutilAggregateException

Test Plan: Will use it.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3760
Use keys in aggregate exception

Test Plan: Will use it.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3762
Always use SSLv3 for HTTPSFuture

Summary:
A couple of users are encoutering an issue which is fixed by adding an explicit SSLv3:

https://github.com/facebook/libphutil/issues/17

Since v3 is 16 years old and I can't find anyone on the internet saying that swithching to v2 solved a problem, let's see if we can get away without adding a bunch of configuration for this or writing our own SSL library.

Test Plan: Made this diff. Googled for discussion of this option. :/

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran

Differential Revision: https://secure.phabricator.com/D3767
Upgrade access to undefined property from log to exception

Summary: Just like accessing an undefined variable, this always indicates a serious error in the Phabricator codebase.

Test Plan: Ran a script which accesses an undefined property, got an exception.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran

Differential Revision: https://secure.phabricator.com/D3779
Allow async prompting in console server

Test Plan: Will use it.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3785
Allow symbol loader path prefix to use \

Test Plan: Ran Phabricator unit tests under Windows.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3815
Install an evil Windows virus in the heart of libphutil

Summary: Created by `mingw32-make` after deleting `needparserscanner` from `Makefile`.

Test Plan:
Made lint error, then:

  $ arc lint # Under Windows!
  >>> Lint for src\parser\xhpast\bin\xhpast_parse.php:
     Error  (XHP4) Use of extract()
      Avoid extract(). It is confusing and hinders static analysis.

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3824
Allow Windows directories in console highlighter

Test Plan:
  lang=text
  C:\Windows\ $ cmd
  Microsoft Windows

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3857
Support reading random bytes on Windows

Summary:
We use this quite extensively, e.g. in `PhutilOpaqueEnvelope`.
`Filesystem` is not the best location for this but I'm not in a mood of renaming it everywhere.
It doesn't work by default but better than nothing.

Test Plan:
  phabricator\src\infrastructure\storage\ $ arc unit __tests__

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3860
Update src/future/http/HTTPFuture.php

D3875 ghetto style.
Specify config for text editors

Test Plan: D3865

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3880
Recognize flex35 in xhpast

Test Plan:
  support/xhpast/ $ make scanner

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3888
Delete license headers from files

Summary:
This commit doesn't change license of any file. It just makes the license implicit (inherited from LICENSE file in the root directory).

We are removing the headers for these reasons:

- It wastes space in editors, less code is visible in editor upon opening a file.
- It brings noise to diff of the first change of any file every year.
- It confuses Git file copy detection when creating small files.
- We don't have an explicit license header in other files (JS, CSS, images, documentation).
- Using license header in every file is not obligatory: http://www.apache.org/dev/apply-license.html#new.

This change is approved by Alma Chao (Lead Open Source and IP Counsel at Facebook).

Test Plan: Verified that the license survived only in LICENSE file.

Reviewers: epriestley, davidrecordon

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2035

Differential Revision: https://secure.phabricator.com/D3887
Add final newline to Remarkup tests

Test Plan:
  $ arc unit

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3885
Fix undefined index in console syntax highlighter
Allow filtering iterator results

Summary: See D3940 for usage.

Test Plan: New test.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

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