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
Merge pull request #531 from isolver/master

ENH: ioHub ioSync MCU device update
TEST: microphone utils, including flac compression level
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
Merge pull request #534 from isolver/master

ioSync enhancements
Merge pull request #535 from isolver/master

BF: Shape stim interpolate value effect
Merge pull request #536 from lindeloev/master

Various visual
CONFLICT: Jon and Jonas had altered neighbouring lines in image.py

We want Jonas change to use logAttrib() and Jon's change to use
self._needTextureUpdate = False
TEST: rf to remove os.chdir()

the test in test_Experiment is being skipped, but changed it anyway
BF: makes sure that texture/image is updated after setting contrast/color

AND this should only be set once if contrast and color are both changed
(recreate texture during draw())