Adding basic tests for environment scripts
System paths are not added to (DY)LD_LIBRARY_PATH

Also avoids adding stuff in /System. This is mostly for Darwin boxes.
Added tests to check behavior.

Closes #8
create_environment tests to work on older cmake

Also simplified how path is checked.
Merge pull request #9 from UCL/issue/8

Issue/8