(Bug 4903) Check whether we have a .full element properly

find(".full") returns an empty array [] when there's no full elements.
Which means that we falsely assume that this comment has been expanded
and mark it as such. Which then breaks nested expansion. Tsk.
(Bug 4904) Cast to int before we use it

This ensures that it's recognized as a number by the JSON library and
gets sent over that way.
Merge pull request #285 from afuna/poll-view-answers-bug4904

(Bug 4904) Cast to int before we use it
Merge pull request #284 from afuna/fix-nested-expands-bug4903

(Bug 4903) Check whether we have a .full element properly
Merge branch 'release-1.14' into develop

* release-1.14:
  (Bug 4904) Cast to int before we use it
  (Bug 4903) Check whether we have a .full element properly