iohub keyboard mappings for windows complete

.key and .char mapping as expected from tests so far.

Note: On Windows, when numlock is OFF, numlock key values == main key
values at every level, so the two can not be differentiated. Therefore
numpad .key values do not have 'num_' prefix.
Merge branch 'master' of git://github.com/psychopy/psychopy
Merge pull request #691 from isolver/master

iohub keyboard mappings for windows complete
ENH: GP3 eyetracker supports sendMessage()

+ BF: in base eye tracker class when runSetupProcedure is not
implemented by actual ET interface.
BF: exception during logger __del__

Use of weak ref and circular reference caused race condition as to
whether weak ref’ed obj would be gc’ed before logger flush completed.
BF: code cleanup
ENH: OSX iohub kb .key and .char mapping done

Please let me know if tis works on kb with numpad OK.

Mapping now is in sync with other OS’s.

All OS kb event .key and .char value calculation now done unless bugs
are found. Will start doing serious testing of Keyboard device itself
(methods, properties).
Merge branch 'master' of git://github.com/psychopy/psychopy
Merge pull request #692 from isolver/master

ENH: GP3 eyetracker supports sendMessage()
Merge pull request #690 from peircej/master

Option to flag a Builder Loop as not being trials (e.g. might be blocks or stimuli)
FF: the window id from pyglet was wrong on some systems

We (Sol) had set it to use:
  self.winHandle._nswindow.windowNumber() #pyglet 1.2
  self.winHandle._window.value #for pyglet 1.1.4
But I think it depends on 64bit python not which version of pyglet
because my pyglet tip (commit 7f99b5234f7b) under a 32bit python fails this

Using a try...except instead
FF: made the git-sha checking code more robust on win32

Reverted to using @jeremygray's code for this. The Popen code doesn't
look quite as neat as using check_output() but it seems not to fail,
which is preferable! ;-)
FIX: an extension *.mo is added to MANIFEST.in
Merge pull request #694 from hsogo/master

FIX: an extension *.mo is added to MANIFEST.in
ENH: bits# device now using better serial port searching

Also the check for gamma table errs was not using squared errors (wasn't
working correctly if erros were negative!)