Revert "Enable most optimizations with loops"

Summary: This reverts commit 9f0c92ba1c1e9de9266b896d19874f45be5da325.

Was breaking hphp_dbgo_jit_loops run.

Reviewed By: @bertmaher, @ptarjan

Differential Revision: D1493916
Implement `idx` gdb command

Summary: Much like the corresponding PHP operation, `idx` is intended to take an
arbitrary container and an index and return container[index].  Currently
it only operates on vectors and generic objects, but support for more
containers is coming soon.

Reviewed By: @alexmalyshev

Differential Revision: D1493896
Updated the framework tests to a newer version of yii

Summary: We might as well test against a newer version of Yii since the version we are currently testing against is locked at how it was in February.
Closes https://github.com/facebook/hhvm/pull/3380

Reviewed By: @fredemmott

Differential Revision: D1488853

Pulled By: svcscm
added missing fclose() to free the handle after a test run

Summary: this prevents that the file handle leaks.
Closes https://github.com/facebook/hhvm/pull/3372

Reviewed By: @LiraNuna

Differential Revision: D1481200

Pulled By: svcscm