Limit backtrace frames to return
Adding getGuarded() getter.

Is there any particular reason why this one has not been created initially?
Various database fixes
Added a missing new line
Fix the docblock for constructor
Merge pull request #6710 from JamShady/pull-request/micro-optimisation

[4.2] Limit Backtrace Frames To Return
Merge pull request #6709 from GrahamForks/4.2-fixes

[4.2] Various Database Fixes
Merge pull request #6711 from Claymm/patch-3

[4.2] Added getGuarded()
Revert change.
fix conflicts.