IOS fix slow contact access due to photos temp file generation

"Do-while test if tmp file exists" costs a lot. Use mktemp instead to generate photo tmp file.

Before (300 contacts with pictures):
5minutes

After:
10 seconds
Adding bool plugin result message, tests
CordovaLibTests - update project file for iOS 5 support.