Bug 845907: Adds generic ReadAhead functions r=glandium
Backed out a40244b87c7a (bug 845907)
[Bug 847110] Fix up includes in layout/style r=dbaron