Replace old ICapability methods by new ones.
Add dependency to pom to avoid compilation problems.
Merge pull request #40 from logoff/bug/rescaptree

Solve some compilation problems