enable env hook in-templates which are devel/installspace specific, allow overriding CATKIN_TEST_RESULTS_DIR via cmake argument instead of environment (fix #365)