made index building resilient to incorrect ns #869
fixed indexapi.js for ctest #869
Merge branch 'bugfixes/tokumx-1.3'
Merge branch 'master' of github.com:Tokutek/mongo