added ability to set the number of logfile lines displayed on errors (number or 'ALL')

According to:

https://github.com/rock-core/autobuild/issues/6