MOCCACAL-48: Deprecated calls to date.getYear etc in JSONService

 - move date handling to jodatime instead
 - (unrelated) use xwiki.exist instead if xwiki.getDocument(...).isNew