Add matrix wrapper classes for operators
Created by: femtobit
This pull request adds a set of classes which provide a matrix representation of operators. See the commit messages (especially the description of 4004092c) for further details.
Beside these classes, two small build system changes are included.