add sparse option
add tests, implement max_slug_length options
add index_sparse and max_slug_length options
remove unreached code
Merge pull request #2 from phillee/master

sparse and max_slug_length options