DataObject->duplicate() test

Advanced relationship copying is already tested further down,
but doesn't cover the same basics. Triggered by a CMS bug
which turned out to be unrelated (https://github.com/silverstripe/silverstripe-cms/issues/689)
NEW Allow setting of ASSETS_DIR in _ss_environment.php