enhancement - added helper function for comparing figures
bugfix - also make selection of channels when input contains fully specified cfg.layout. Furthermore, I have replaced the variable "lay" with "layout".
enhancement - added test script for http://bugzilla.fcdonders.nl/show_bug.cgi?id=2059
Merge branch 'master' into bug2059