Partition optimization.
fix bugs that in partition test..
Fix a bug that will lead to a exception while generating sequence by a global table.
Merge branch 'master' of github.com:xuse/ef-orm