Add lineno attribute and format_error method to the LineReader class.

format_error returns a formatted runtime_error exception.
Add support for details in LineReader.format_error.
Improve comments.

No change in the code.
Add electronnumber function.

lookup of element and ion electron numbers from runtime data table.
Add header for the SFTElectronNumber class.

And also delegate the implementation to electronnumber function.