add in Paginator as component to PostsController

By default when you bake the controller it comes with Paginator component. Especially when the AppController in this docs does not come with Paginator, this is important so that the index action works exactly.