allow usage of a closure for the `code` option of fields
optimization to call `$this->getOption('code')` only once
Removed trash icon in batch confirmation template
Merge pull request #1937 from pulzarraider/patch-3

Removed trash icon in batch confirmation template
Fix test autoload
Update search.rst

There was no documentation about how to define the block (atleast not that I found). This resulted in an error when you tried searching. 

'An exception has been thrown during the rendering of a template ("The block type sonata.admin.block.search_result does not exist") in SonataAdminBundle:Core:search.html.twig at line 48'

There is a summary of the issue here:
http://stackoverflow.com/questions/19551715/sonata-admin-search-feature
Merge pull request #1941 from NoScopie/patch-1

Update search.rst
Move Twig Text extension to core bundle
Merge pull request #1942 from eko/master

Move Twig Text extension to core bundle
Update routing.rst

Changed $collection->add('myCustomAction'); to $collection->add('myCustom'); #Action gets added automaticly
Merge pull request #1946 from NoScopie/patch-2

Update routing.rst
Added recipe for dynamic admin form modification
Added a comment in the sample
Moved curly brace
Cleaned unnecessary stuff
Merge pull request #1954 from kix/master

Added recipe for dynamic admin form modification
Removed non-needed import from a doc
Added YAML route builder defn sample
Added YAML config samples in advance.rst
Renamed "advance" to "advanced"
Fixed doc title