DOC: Updated doc for "win" attribute.
consistent autoDraw and autoLog across _BaseVisualStim stimuli
RF: made a _logAttrib() method for logging. To reduce code redundancy.
Merge branch 'master' of https://github.com/psychopy/psychopy

Conflicts:
	psychopy/visual.py
Merge branch 'master' of https://github.com/lindeloev/psychopy

Merging upstream master into the old lindeloev/master
BF: fixed logic in _baseVisualStim.contrast when useShaders=False
DOC: Added documentation to _baseVisualStim.win
RF: reduced code redundancy for visual logging by making a logAttrib tool.
newline for new files with shebang
ENH: ioHub ioSync MCU device update

- analog input events work, demo added
- digital output requests work; demo added
- psychopy and ioSync time bases syncing to +/- 1 msec max error, demo
added
- AnalogInputDeviceDelayTest.py demo completed; used digital out
functionality of ioSync to test the timing error between when a analog
input event actually occurs and the labjack AnalogInput event times
being given. The error can then be applied as a setting to the LabJack,
resulting in timing with +/- 0.5 msec accuracy. Note: test must be run
on same computer using same LabJack as what will be used during data
collection.
Merge branch 'master' of git://github.com/psychopy/psychopy
Merge pull request #531 from isolver/master

ENH: ioHub ioSync MCU device update
BF: Fixed drawing interaction

TextEditor was causing an issue if also drawn with a radial stim due to
the change made to use pix for opengl .
Merge pull request #533 from isolver/master

BF: Fixed TextBox stim drawing interaction
Merge pull request #530 from wilberth/master

newline for new files with shebang
Merge pull request #532 from jeremygray/master

TEST: microphone utils, including flac compression level
ioSync enhancements

The ioSync software (teensy 3 program and the computer side python
interface) and base teensy 3 / 3.1 pin out functionality has now been
verified for:
- 8 digital inputs,  currently at 1000 Hz on MCU
- 8 analog inputs, currently at 1000 Hz on MCU, 0 - 3.3 V input range,
12 - 13 usable bits of resolution.
- 8 digital outputs.

- MCU usec clock to psychopy / iohub time base syncronization has been
verified to be within +/- 0.5 msec. Can likely get it better with more
effort.

ioHub interface is working well it seems.

Examples are provided using psychopy.iohub for using each pin type and
testing time syncing.

As usual, doc's are very light at the moment. ;)
Merge pull request #534 from isolver/master

ioSync enhancements
BF: Shape stim interpolate value effect

Changed Shape.py to set the state of GL_MULTISAMPLE instead of
GL_POLYGON_SMOOTH based on interpolation value.

Fixes issue of some filled stim having visible line artefacts in the
filled area.
Merge pull request #535 from isolver/master

BF: Shape stim interpolate value effect