Added rake task for ensure indexes, fixes #2