Added suport for index path
fix typo
Merge pull request #28 from evangael/master

Added index path as suggested by Couchbase best practice