Master DST fixes

Fix for DST issues in master branch (issue #810)
Backport of 
https://github.com/brutasse/graphite-api/commit/c8854f584b4ba216f9706fa5bf42597a4f9c969c
https://github.com/brutasse/graphite-api/commit/a0ae47023cce8fe7dc2815c8ed46ffc16f3bdefe
to master branch (including test).