Added functionality to CustomPostType and added example to README.md

- Added CustomPostType::setSingularName override for labels.
- Added CustomPostType::setPluralName override for labels.
- Moved CustomPostType label setup to its own method.
- Updated README.md to have a brief example of CustomPostType.