Portal undeployment fixed, cleaning of temp directory.
SimpleInsert used for fetching autoincremented id of inserted row.
Deployment fixed for deploying new version of application.
Fixes for logging and error handling.
Logging change.
Log rotation limits changed.