More code cleanup and fixes for the tool shed's install and test framework.  The test environment information for both the tool shed and Galaxy should now be stored correctly in the Tool test results container on the view or manage repository page in the tool shed.