make rostest in CMakeLists optional (ros/rosdistro#3010)

I was unsure if I should add this commit to hydro-devel and/or indigo-devel. So for the moment, I just added this patch to the indigo-devel branch.