Replaced 1.7-specific call System.lineSeparator() with System.getProperty("line.separator").
Fixed issue where XNAT restlet extensions didn't properly load, added some more debug logging.