async-wrap: set parent class on Environment

Instead of passing another value to the AsyncWrap constructor, place the
parent class in Environment. Since the execution is synchronous this
shouldn't cause any problems.