CSS fix for the id when connected
Import test on the name instead of user_id

To know if the file contains a dashboard or an array of dashboard,
we tested the field "user_id".
The fact is that we take the user_id of the user in session, so this field
is no longer compulsory in the imported dashboard. Therefore we have to change
the tested field to know the desired information (if the dashboard is
in an array or not)
Fix : no refresh when the refresh rate worth 0
Popup validation when clicking on the delete btn
Add colors on the state and an icon when disabled
Replace the prepareValue in getValue
Little fix of a javascript bug

When the user puts in target "&from=-2d" the javascript function getGoodUnit
returned "secondes" instead of "days"
Don't do a movingAverage when "sample" is worth 1
option "starts at midnight" for a graph (SQL inc)

Add a checkbox in the graph edit panel for this.
If checked, the graph will be drawn with option "from=midnight-[...]"