[Analytics] Add click tracking, make colors consistent

Now logs user actions (must syncdb to take effect).
Chart colors stay consistent across toggles.
In the files view, "Analytics" link is switched from the "Stats" column to the "Actions" column.