Add ability to search datastores

Right now, modules like mod_muc_log_http are checking available datastores themselves.

This adds a new parameter to the "stores" function - `pattern`. This way, modules looking for datastores named 'muc_log/<date>' can do it quickly, in a single shot.