Bug 863620 - Follow-up to bug 848414. r=echou, a=tef+
Bug 845707 - Only filter file path that is a '~' or starts with '~/'. r=dougt, a=leo+
Backed out changesets 2449b8d0f7e6 and c5d796505942 (bug 852847) for leaks. a=backout