Hidden pk as sequence

Update the internal AIS processing to have tables with no primary key use a hidden column with a sequence. Previous this would use the hidden column with a unique ID generator. The latter has proven to be a performance bottleneck. So simplify the code by removing the unique ID generator and using a sequence instead. 

The challenge here is may pieces of code assumed the hidden column/unique id, and needed to be touched/updated to correct.  The biggest headache here were the Alter Table changes trying to ensure the hidden column, sequence, and PK were correct passed along if unchanged or removed if adding a new PK. 


As I scrolled further down I just see that it was moved here. Ignore me.