align Rakefile on foolbox Rakefile
simplify onError callback arguments (to just one)