feature #2862: novnc did not start in centos sunstone script

Also some whitespace fixing

(cherry picked from commit 9213b474de18eddb0e7e0b726cd8d6cd13bf52ce)
Bug #2982: fix onedb import-slave to take into account deleted users
Bug #2984: Add a csrftoken to the upload ajax call