moved identity files to core, and added local implementation
moved identity files to core, and added local implementation

ibm-bluemix-mobile-services/bms-clientsdk-swift-security,ibm-bluemix-mobile-services/bms-clientsdk-swift-security