Use the correct variable as the key into $record

It was using $fieldName, which is the CSV field name, not the database
field name. This prevents duplicate detection from working. It now
properly uses $SQL_fieldName
FIX Template discovery on themed Layout templates

Was failing when 'main' template only exists in theme,
but 'Layout' template only exists in module.
Merge pull request #1818 from PutmanMedia/pulls/themed-main-templates

FIX Template discovery on themed Layout templates
Merge pull request #1821 from oddnoc/csvbulkloader-findexisting-2.4

Use the correct variable as the key into $record
composer/installer dep workaround

Moved to end of requirements, to work around a bug in composer - see https://github.com/composer/composer/issues/1147. This caused the dependencies to be installed in the wrong folder because the custom 'silverstripe-module' instructions hadn't been loaded at the time the core modules were installed via composer.
Merge pull request #1820 from oddnoc/csvbulkloader-findexisting-3.0

Use the correct variable as the key into $record
Updated HTMLTextTest to test for correct testFirstSentence, specifically a past failing test case. fixes #1422
Merge pull request #1776 from chillu/pulls/composer-require-docs

Added --no-update hint to composer docs
Merge pull request #1823 from tractorcow/3.1-htmltext-testcase

Updated HTMLTextTest to test for correct testFirstSentence
FIX: Use the correct variable as the key into $record

It was using $fieldName, which is the CSV field name, not the database
field name. This prevents duplicate detection from working. It now
properly uses $SQL_fieldName.

Update CsvBulkLoaderTest to remove keys that are nonexistent in the CSV
test data. Having them causes the test to fail with an undefined-index
error. This did not previously fail because of the bug in CsvBulkLoader
that this patch fixes. This partially reverts c4eac53.
The MAX_FILE_SIZE field must precede the file input field.

More here: http://php.net/manual/en/features.file-upload.post-method.php
Merge pull request #1826 from uniun/patch-2

The MAX_FILE_SIZE field must precede the file input field.
Update page-type-templates.md
FIX media dialog add url button fix

Use HtmlEditorField.BUTTONADDURL for localization
Anchor regex in Director#is_absolute_url()

- Anchor the regex to the beginning of the string
- Change the regex delimiter to reduce the amount of \ clutter
FIX: Enable $forceWrite argument of DataObject#write()

$forceWrite was being ignored because it was tested in a part of the
code that is reachable if and only if there are changes to the object.
This patch adds an additional test to correct that logic error.

Also, refrain from needlessly checking for changes when $forceWrite is
true.

Fixes #1687
Remove duplicate parse_class_spec method.
Merge pull request #1836 from simonwelsh/remove-dup

Remove duplicate parse_class_spec method.
FIX Handle PHP 5.4's short array notation everywhere arrays are parsed.
NEW Allow specifying priority for translations

Priority for translations was hardcoded, and hardcoded the project name as "mysite".

This takes the order from a configuration property "module_prority". You can
use standard config fragment before and after rules to make a module less or
more important than anything else, with these tweaks:

 - Unless it has it's order explicitly defined, the "project" module (normally mysite)
   will be considered highest priority

 - There is an "other_modules" value in the order list which will be replaced by
   all the modules (except the project module) that don't have their order
   explicitly defined.