fix broken subscribe watching for libriares, spec tests for library, tomcat and java watching, dont use defined(..) test to decide if watching java and apache, its too brittle - ask the user instead