Refactor views code

- Clean up
- Use plone.api
- Fix calendar icon
- Add tests
Update documentation