add catergorical and nonnullnext
add tests
Merge pull request #1 from adatao/tablepartition-branch-0.8

Tablepartition branch 0.8