Allow supplying the current query object without triggering a deserialize on transition.

Also, linkTo now passes "false" instead of an empty object if the query
is false.