MAINT: Rename perfomances intraday_perf to minute_perf.

minute_perf is more precise than intraday_perf as a naming scheme
for the performance packet type.
BUG: Fix calculation of cumulative risk stats.

- Use current dt instead of market_close.
- Handle intraday close
- Remove zeroing out of sharpe etc.
MAINT: Cleaned up to_dict highlighting daily and minutely difference.

Make the difference between the two emission rates more exact.
BUG: Fix next trading calculation.

If we are in a day beyond the historical data use the last close,
instead. Relevant for trading current data.
Merge fixes for intraday perfomance.

Contains bugs and protocol compatibility changes.