refactoring app.py

moved util functions into utils.py

added some options to charts page (no interface work done yet)
Merge branch 'master' of https://github.com/wilbur-d/ltc_stats