Merge pull request #15 from og3b/master

Refactor Swaps and Position
Redesign EventStore

Serialization/deserialization is in parallel
Writes are processed in order
Duplicates aren't written to Kafka
Merge pull request #16 from thoozaho/parallel-event-store

Redesign EventStore
Maker compiler warnings are fatal
Use market data environment in mtm test
Remove InstrumentValuationContext

As this was just a container for a Valuer trait variable it
could be replaced throught by the valuer itself.
Refactor position calculation

Essentially moving code around. Added 'positions' method to the Valuer
trait, and moved the SVD position calculation to its own file.
Minor changes to Qty

`compare` method was dubious, possibly not reflexive
stricter about return types of Qty builder methods, and
implicits
SVDPositions - make loss of precision clearer

Scales of hedges changed to DblQty from BDQty
Refactor CommoditySwap

rename `market` to `index`
SwapValuer was unnecessarily matching on index type - behaviour
was the same regardless
PositionPivotReport
Improve Qty comparisons with 0
Refactor PivotReportType

The PivotReport objects will be used to enumerate reports,
rather than creating separate entities.
Move test market data builders to trait
Merge pull request #17 from thoozaho/master

PositionPivotReport
Previous merge omitted file
Merge pull request #18 from thoozaho/master

Previous merge omitted file
NBPs swaps and futures

Added valuation and position code for NBP which is
 in THM/DAY