Add errorlist and sqlstate to mysqli_stmt

Summary: - This adds error_list and sqlstate properties on mysqli_stmt. Mostly copied from the same properties on mysqli

Fixes #3048

Reviewed By: @JoelMarcey

Differential Revision: D1407664
Fix crash on misuse of FormatString (and other newtypes?)

Summary: Once again, we should be adding an error instead of asserting
something.

Reviewed By: @gabelevi

Differential Revision: D1428946
Revert "Adjust the encoding m_pos uses when pointing past the last element"

Summary: Breaks several OSS frameworks

Reviewed By: @ptarjan

Differential Revision: D1429426
Re-record twig

Summary: Broken by PHP_VERSION change.

Reviewed By: @ptarjan

Differential Revision: D1429477
reformat docs, extend .gitignore

Summary: * configure: clean spaces, tab's
* .gitignore: ignore the subfolder "build", build/binary files
* README.md: [related link](https://github.com/denji/hhvm/commit/9fa7fcba90f3e0aacf44929385f91aad762e9ac3?short_path=04c6e90#diff-04c6e90faac2675aa89e2176d2eec7d8)
Closes #3060

Reviewed By: @ptarjan

Differential Revision: D1427535

Pulled By: @fredemmott
Replace non-portable '\e' with '\033' (ESC)

Summary: Warp complains about the use of '\e' as a character literal, which indeed is not allowed (see e.g. http://en.cppreference.com/w/cpp/language/escape). However, I just checked and gcc does accept the sequence. To keep code portable I replaced \e with \033.

Reviewed By: @jdelong

Differential Revision: D1429142