Improve calendar parameters

- Fix Moon by removing the need for PEAR
- Add .gitignore to indicate the (types of) files that should not be
committed