Mock plugin.
Lint.
Virtual.
Merge pull request #161 from pleroy/Mock

A mock for the Plugin class.
Fails expectations, infinite loop.
Some changes.
All tests passing.
Merge pull request #163 from pleroy/UnIntervalle

Fix a number of bugs when the integration takes place on a single interval
Merge remote-tracking branch 'la-vache/master' into gravitation