Added latest pyparsing into requirements
Prunes shadow bindings when extending environments;
Improved error checking when creating lambdas
Added more tests for better coverage