Use locate_profile() from IPython.utils.path instead of calling ipython
locate from subprocess.
Also handle the same call in delete_profile()
Oops, remove the subprocess call, too
Use get_security_file() to get the security file for the client
Use locate_profile() which doesn't bomb out if a file doesn't exist
Merge pull request #9 from lbeltrame/use-ipython-functions

Use IPython locating functions instead of using subprocess. 

Thanks to Luca Beltrame for this much nicer implementation.