Editable devices

- Don't select row when it's being edited.
- Add checkbox for creating calculating fields.
- Add allowed?* for devices.
- Use chart's date format.
- Make table scrollable (when the screen is too small to allow for
  required min table width)
- Don't use minified library for development. Hide divs instead of removing them.

Sorry. I misread it. We can leave it for now, but as a general rule anything that calls (db/execute ...) should probably live in kixi.hecuba.data.* unless it is very specific to one use.