Using $TRAVIS_BRANCH again, since its now available on travis-ci.org
BUG Remove handwritten SQL and use the ORM.

The custom SQL does not take subsites into account and breaks the CMS
on certain pages - under some circumstances the custom count will return
1 or more, while the set will be in fact empty because of augmentation.
Merge pull request #252 from silverstripe-droptables/dependent-pages-fix

BUG Remove handwritten SQL and use the ORM.
Adjusted Behat steps to new definition format
Added travis environment info output
BUG: Fixed pagination functionality on root assets folder

Moving to another page in the GridField for the root assets folder in AssetAdmin
caused all files to be displayed. This was caused by the functionality that tries
to fix some edge cases for detail view kicked in and didn't filter the list properly.

Fixed by making the edge case detection a little more specific (i.e. checking if
a numeric ID was sent as a request variable).
Merge pull request #258 from creamarketing/assetadmin-root-pagination

BUG: Fixed pagination functionality on root assets folder
Updated translations
String casting in SimpleXML tests for older phpunit versions
Removed direct sprintf() usage from _t() calls

Parameterized strings are easier to understand,
and more fail-proof, don't fatal out when not enough sprintf() args