Documentation of visualization logic

Added a md file that tries to document the logic used in selecting what data to show in the dashboard plots, both in couchdb map-reduce views and javascript functions.

This does not affect the code.