Changed item.id to item.gid.
Merge branch 'master' of github.com:ucam-cl-dtg/urop-2014-ticking-ui