NEW add logout url to Security

Added logout_url config setting to Security and global template variables $LogoutURL and $LoginURL.

I've also deprecated the use of Security::set_login_url() in favour of the config api.