add as400 primary key support and re-add explain method
Merge pull request #345 from INCpr/master

Add AS400 support for primary_key