FIX gridfield delete alert selector specificity
Updated Te Reo translations
Globalization in TreeDropdownField JS
Chinese translation encoding
Updated Te Reo translation
API: Pass extra context information to shortcode handlers.

This allows shortcodes to perform more complex actions on the element
which contains them. For example, the element reference can be used
to add extra classes or attributes to links which provide additional
metadata.
Merge pull request #2507 from ajshort/pull-3

API: Pass extra context information to shortcode handlers.
Merge pull request #2502 from colymba/fix-gridfield-delete-alert

FIX gridfield delete alert selector specificity
Unit test coverage for CMSMenuItem
BUG: Fix CMS forms with validation errors responding incorrectly.

A new form instance was being constructed for the response, which mean
that a lot of the validation information was lost. This fix means that:

* Enterered data is correctly persisted.
* A validation error notification is displayed.
FIX: Fix not switching to the correct tab on validation error.
Merge pull request #2514 from ajshort/pull-4

CMS Validation
Merge pull request #2510 from kinglozzer/cmsmenuitem-tests

Unit test coverage for CMSMenuItem
Appending to debug.log file

Until now debug.log files were loaded into memory, concatenated and then re-written to disk. This is an intensive operation on a large file.

I've added the `FILE_APPEND` flag to append to this file instead.
No HTML entities in "Groups" ListboxField (fixes #2513)
Merge pull request #2518 from dhensby/patch-1

Appending to debug.log file
Removed accidental artifacts
Merge remote-tracking branch 'origin/3.1'
Updated translations
API Removed Member.LastVisited and Member.NumVisits