templates/graph: Use url_for().
templates/index: Use url_for().
templates/interval_filter: Use url_for().
templates/layout: Use url_for().
views: Remove uri_to_internal() and link_to_internal().

Now unused.
Merge pull request #20 from MostAwesomeDude/master

More url_for() fixes.