Sets query value to null in ivanhoe_paginate_links function.
Fixed issue #85

Checks whether user has a role outside of the moves loop.