FIX: <% if Link %> wasn't working

Since ViewableData was returning a casting helper for Link, but DataObject was
only using $this->$fieldname to set values on that casting helper, you could
not use <% if Link %> (or <% if $Link %>) in your templates because Link is not
a field, and thus had no value to be set on the casting helper, causing
hasValue to think that there was no value.  Since DataObject->dbObject says that
"it only matches fields and not methods", it seems safe to have it call db(..)
to get the field spec, and not call ViewableData->castingHelper at all.
MINOR: Fixed typo
Merge pull request #2124 from CheeseSucker/patch-4

MINOR: Fixed typo
Update simple-contact-form.md
Updated calls to methods instead of firect properties in PaginatedList
Merge pull request #2144 from micmania1/2143-paginatedlist-method-calls

ENHANCEMENT: Updated calls to methods instead of direct properties in PaginatedList
FIX: TestRunner was not cleaning up DB on failure

When a unit test being run by PHPUnit encountered a fatal error,
TestRunner::tearDown was never being called. This resulted in tmpdb schemas
littering the database from failed test runs. This changeset fixes the issue
by registering TestRunner::tearDown as a shutdown function, so that it gets
called even in the event of a PHP Fatal Error.
Controller::redirect now returns the resulting SS_HTTPResponse, allowing the function to better support chaining
Merge remote-tracking branch 'origin/3.0' into 3.1

Conflicts:
	docs/en/reference/grid-field.md
API Enforce $allowed_actions in RequestHandler->checkAccessAction()

See discussion at https://groups.google.com/forum/?fromgroups#!topic/silverstripe-dev/Dodomh9QZjk

Fixes an access issue where all public methods on FormField were allowed,
and not checked for $allowed_actions. Before this patch you could e.g.
call FormField->Value() on the first field by using action_Value.

Removes the following assertion because it only worked due to RequestHandlingTest_AllowedControllerExtension
*not* having $allowed_extensions declared: "Actions on magic methods are only accessible if explicitly allowed on the controller."
Merge pull request #2021 from jthomerson/fix_if_link_not_working

FIX: <% if Link %> wasn't working
"Insert Media" dialog: Reposition separately (fixes #783)

FF21 and IE10 seem to propagate the DOM attribute changes differently
from Chrome: The dimensions can't be set in the same setOptions()
call through jQuery UI here. Fixed this by a separate setOption() call.
"Insert Media" dialog: Prevent loading indicator in IE8+

Fixes https://github.com/silverstripe/silverstripe-cms/issues/782
"Insert Media" dialog: Fixed event names

Fixes https://github.com/silverstripe/silverstripe-cms/issues/781
Regression from 9f600ada which uses jQuery UI widget "subclass"
that also affects event names.
Merge pull request #2130 from chillu/pulls/allowed_actions-deny

API Enforce $allowed_actions in RequestHandler->checkAccessAction()
NEW: Allow configuration of initial insertion width for images and media

Moved default insertion dimensions logic from JS to PHP to allow setting through config API
Merge pull request #2145 from tractorcow/3.1-controller-redirect

Controller::redirect now returns the resulting SS_HTTPResponse
Merge pull request #2146 from jonom/Configurable-default-width-for-Media

NEW: Allow configuration of initial insertion width for images and media