klondike - ensure all memcpy use the size of the target
miner.h allow devices to tv_stamp work
klondike - adjust work matching and cleanup
Optional lock tracking and stats via the API
Merge pull request #506 from kanoi/master

optional lock reporting in the API and klondike work redesign