* replace direct reference with an interface in various places * hide piecePath * ensure psserver tests don't use path * ensure psserver tests don't use sql queries directly
* creates initial migration for psdb * add test mechanism to validate migration to every version * fix few small issues in versions.go and context.go