Changed analysis functions to fit new structure

* New pkmnsim::analysis namespace created
* Functions separated into damage and stats