DocBlock corrections and typo fixes

Signed-off-by: Graham Campbell <graham@mineuk.com>
Added a setPath method to the paginator
Merge pull request #6822 from GrahamForks/5.0-cs

[5.0] CS Fixes And Minor Fixes