[dfmc-modeling] Remove method environment(<&method>).

This method wasn't used and returned an empty vector rather than
a valid environment object.
[dfmc-modeling] Tighten types on environment generic & methods.
Merge pull request #781 from waywardmonkeys/method-environment

Method environment