Java type condition dependencies test

- Refactored the dependencies graph search to give each condition 'type' test its own method. 
- Added a 'java' type condition test. (http://docs.codehaus.org/display/IZPACK/Java+Condition)
- Updated unit tests for dependencies and conditions.