Add line counting capabilities to Ruby Scanner.
CodeModel now use RubyScanner instead of the ugly regexp based RubySimpleScanner.