Need a safe shutdown command from broswer

Instead of relying on the apache server to close down Kunagi there should be a way for the admin to remotely request Kunagai to close. During closing it would not allow any further connections from any non-admins and should safely commit the database.

I think what caused us to loose data was rebooting the PC while Kunagi was writing to its database. Note we have Kunagi running as an automatic service under windows. Therefore we can not simply close the open windows wrapper. Other than this issue it works very well under windows!