Updated pagination with url encoded types

Updated the next and previous pagination links to escape the spaces
within the comment type portion of the links. This is so the clients can
just follow the url without having to worry about encoding it
themselves.
Merge branch 'develop' of github.com:EJEHardenberg/GreenUp into develop