[FIXED JENKINS-21569] Expose current line in groovy.
Added getCurrentLine() method for line based parsers.