Fix SQL for time diffs. Convert to TIMESTAMPDIFF so the resolution is until microsecs and no prob with max hours limit #2722.

Conflicts:
	vizgrimoire/SCR.py
Add support for converting from Decimal to float an array also.