Merge pull request #65 from ljos/patch-1

add thanks to @Foxboron as well
ignore virtualenv stuff
fix imports

refactoring imports to only have one place where we need
to check for platform.
Merge pull request #66 from ljos/master

fix imports
Add forgotten configuration when installing on OS X

If the user does not enable access for assistive devices we do not get access the event callback will not fire correctly.
Merge pull request #68 from ljos/patch-1

Add forgotten configuration when installing on OS X
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
move selfstat globals collected from selfspy into config as well
merge fix
Merge pull request #72 from ljos/master

Fixes lockfile problems
Added package name to config
some stuff fixing
merge