Remove unused empty() function on static_partitioner
Add auto_partitioner and make it the default partitioner
Fix partitioner detection