Bug 827523 (part 1) - DMD: Remove valloc() from the test.  r=jlebar.

--HG--
extra : rebase_source : a5da90a39a14d45d4d841ec22506e66520791e96
Bug 827523 (part 2) - DMD: Swap the diff order in test mode.  r=jlebar.

--HG--
extra : rebase_source : d8b96799e7353f9d838f31ddb4b1aaca3ab6ca9c
Bug 827523 (part 3) - DMD: Add --max-frames and --max-records options.  r=jlebar.

--HG--
extra : rebase_source : 9840bcfa2d8fc1127a6f367a94e1d8488ae41c6a