bugfix: when nans in data and highlights present an error happened. Now fixed.

git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@7663 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
dataout fixed

git-svn-id: svn+ssh://svn.fcdonders.nl/home/svnroot/fieldtrip/trunk@7664 0cf7c7f0-3615-4144-b4e6-68da3bce3cd0
enhancement - implemented test script for http://bugzilla.fcdonders.nl/show_bug.cgi?id=2040
enhancement - implemented test script for http://bugzilla.fcdonders.nl/show_bug.cgi?id=2040
Merge branch 'master' of github.com:fieldtrip/fieldtrip