Fix for close button on persistent notices.
core: added support for signing up with facebook for a known user.
Moved some check functions to m_identity.
Fixed problem where an email identity could be added multiple times (when signing up using FB)