Updates for issue4, scenario test 3 now complete and running.
getAllDocs updated for better offline support, Issue 10 also raised on this point.