Adding support for POS coin

This will fix #275 and add proper support for a different implementation
of network difficulty.
Detect if we use POS difficulties or not

Fixes #275
Merge pull request #304 from TheSerapher/issue-275-pos-support

Issue 275 pos support