remove python-daemon dependency as we don't use it anymore
update pyobjc dependencies

I don't think we should need anything else then what is in
the Cocoa framework and in core.
Move globals into own file/namespace
acquire and release lock

fixes #71
move except around astore.run()

To ensure that we always release the lock
fix build problem with osx-requirements

missing `el` before `if` makes requirements.txt the
requirements file for osx as well.
fix pid locking problem on OS X

On OS X the lock wasn't released properly.  The lock was
therefore moved into the config namespace and we can use
it from there to also lock it when the pyobjc application
terminates.
move print to inside termination instead of at except