Restart Nuoagent immediately instead of waiting for end of chef run to
facilitate test data loading
Fixed SQL statements
Documentation updates.