Fix graphite function application with no args

Minor additional fixes: apply scaleToSeconds() correctly after
derivative, and add missing import in structured_metrics/__init__.py