Check length of time format for ':' conditional in attime.py

This fixes https://github.com/graphite-project/graphite-web/issues/511 and allows you to use time format like '00:00' again.
Merge pull request #514 from tamale/master

Check length of time format for ':' conditional in attime.py