implemented get nodes for environment
test for environment nodes
Merge pull request #14 from willm/master

implemented environment get nodes