Move pure algorithm classes into a new maven module pentaho-aggdesigner-algorithm, which does not depend on mondrian.

Tweak .gitignore.