Moved when condition to a proper place
Reduced collections mutability in configuration
Refactoring the CandidateElementExtractor
Fixed #96. It acually worked fine but the test was wrong.

The commit contains several refactors to improve immutability
Fixed broken test
Merge pull request #107 from crawljax/issue-96-fix-xpath-exclusions

Issue 96 fix xpath exclusions