fixed regression: assigning an environment EDF to a render layer had no effect anymore.

regression likely introduced in 9e24e22a61b7678ca54d79f1c31eecd9a34982c9 ("implemented automatic binding of environment inputs").
minor code tweaks.
added test scene for environment EDF AOV.