Code inspection fixes

* Renamed test method with duplicate name in tests/Type/TypeBaseTest.php
* Added missing getSlug() method (& property) to PostType
* Various spelling corrections