Pattern saving and loading done.
Merged xmlpattern branch from hduprat/project-bar.
Revert previous commit, because not properly merged.

This reverts commit eed66bac94e5ab138ea7e243880ded5edd0237bd.
Resolved conflict for README.md.
Documented some other classes.