tabs -> spaces
- removed duplicated javadoc plugin
fixed evaluation of relationships (from/to)
added test cases for validation