(#524) - style=all_docs support for websql and leveldb

This is also related to #728 and fixes it too. (please check!)