Merge pull request #181 from wmathurin/unstable

Adding totalEntries field to smartstore cursor (javascript)