Partial and machineless

Changes include:
* `PostgresInterface` interface changed :),
* server now understands partial transactions and bills,
* in case of machine going offline server automatically sends tx after `SESSION_TIMEOUT `.


This should be ordered by device timestamp, not server timestamp, to ensure correct order.