Initial cut of code that will generate the current SCN if its not given ...

Oldest available binlog code as a separate pull.