permlink and sql types update
Merge branch 'RE-CORE' into import-export