Anomaly modular

1/ turn `anomaly.py` into a class for better reuse, move related logic from `clamodel.py` here
2/ nice speedup for python (use `numpy.sum()`)
3/ new features/"implementation" to anomaly computation - parametrized, default off, so no change from current 
3.1/ new `cumulative anomaly` (sliding window)
3.2/ @subutai Please have a look if you like this approach, it's prepared for integration with your `likelihood` anomaly code
4/ added tests
```python
raise ValueError('Invalid anomaly mode; only supported modes are: "pure", '
                 '"likelihood", "weighted"; you used:' + self._mode)
```