added basis, generalized centerXY
changed centerOrigin to center, etc
Merge pull request #157 from diagrams/basis

added basis, generalized `centerXY` and `snugXY`