Applications nvd3 pie charts

* Adapted Guillermos code for generating nvd3 charts in applications page
* Fixed issues with changing start date
* Application type will retain its colour
* Removed .png API call