[Decision Trees] [UI] Removed templates/ directory.

Test Plan: unit tests

Differential Revision: http://phabricator.tullo.ch/D31
[Decision Trees] [UI] Python linter with `flake8`

Summary: Cleans up the code somewhat

Test Plan: `make test`

Differential Revision: http://phabricator.tullo.ch/D32