Update ILO Labordoc.js

Modified item.pages/item.numPages and item.tags. New test case. Note: something strange seems to happen in encoding, when test cases are saved from Scaffold. Is Scaffold using utf-8 there? Otherwise encoding works fine.