Submit Usage 1 (and Online Mode check)

webops.synchronize.js
Changed the save logic for saving external vs used items to correctly
use the externalQuantity column of usage as the differentiator.

Updated logic to check whether app is online to use the correct
function(webOps.database.tables.setUp.select().appModeOnLine) instead of
checking the App Mode checkbox itself.