Issue159 ordering by commit stamp not reliable

Fixes Issue #159. A number of the common sql statements that queried the event store ordered the results by CommitStamp. An issue arose where if the two or more commits had the same commit stamp, they were retrieved out of order.

This PR adds a failing test and fixes the issue by ordering by commit sequence.

Note, this ordering is only guaranteed per-stream and not globally.