Adding some tests to Chart controller.
Splitting chart list and chart actions.
Moving chart format into route.
Moving charts format (and default value) into route.
Completing line coverage on Chart controller.
Simplifying mime check.
Merge branch 'charts-refactor'